Re: [PATCH] i2c: i2c-imx: Use -ENXIO as error in the NACK case

2015-10-23 Thread Wolfram Sang
On Thu, Oct 22, 2015 at 02:41:20PM -0200, Fabio Estevam wrote: > According to Documentation/i2c/fault-codes the response to a bus NACK > should be -ENXIO, so fix the error code. > > This change is similar to commit 6ff4b1051632 ("i2c: rcar: fix NACK > error code"). > > Signed-off-by: Fabio Esteva

[PATCH] i2c: i2c-imx: Use -ENXIO as error in the NACK case

2015-10-22 Thread Fabio Estevam
According to Documentation/i2c/fault-codes the response to a bus NACK should be -ENXIO, so fix the error code. This change is similar to commit 6ff4b1051632 ("i2c: rcar: fix NACK error code"). Signed-off-by: Fabio Estevam --- drivers/i2c/busses/i2c-imx.c | 2 +- 1 file changed, 1 insertion(+),