commit | 12d9bbc5a7f347eaa65ff2a9d34995cadc05eb1b | [log] [tgz] |
---|---|---|
author | Peter Rosin <peda@axentia.se> | Wed May 09 21:46:30 2018 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue May 15 09:31:19 2018 +0200 |
tree | adcedc7b4be1043943ae77210c558c56fcb55d9d | |
parent | de9a8634f1cb4560a35696d472cc7f1383d9b866 [diff] |
i2c: pmcmsp: fix error return from master_xfer Returning -1 (-EPERM) is not appropriate here, go with -EIO. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Fixes: 1b144df1d7d6 ("i2c: New PMC MSP71xx TWI bus driver")