Re: [PATCH 2/2] i2c: pmcmsp: fix error return from master_xfer

2018-05-15 Thread Wolfram Sang
On Wed, May 09, 2018 at 09:46:30PM +0200, Peter Rosin wrote: > Returning -1 (-EPERM) is not appropriate here, go with -EIO. > > Signed-off-by: Peter Rosin Applied to for-current, thanks! signature.asc Description: PGP signature

[PATCH 2/2] i2c: pmcmsp: fix error return from master_xfer

2018-05-09 Thread Peter Rosin
Returning -1 (-EPERM) is not appropriate here, go with -EIO. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-pmcmsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-pmcmsp.c b/drivers/i2c/busses/i2c-pmcmsp.c index ec27e27e8d06..dae8ac618a52 10064