]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: imx: Use -ENXIO as error in the NACK case
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 22 Oct 2015 16:41:20 +0000 (14:41 -0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 23 Oct 2015 20:25:33 +0000 (22:25 +0200)
commit4c0657ae432398f729c1d402bab935505a5255b5
treefdc8d550fbd56abe2d4db819e4e3e5122a5a0449
parentdd77f423e516293c37c2370b44fd700900409c48
i2c: imx: Use -ENXIO as error in the NACK case

According to Documentation/i2c/fault-codes the response to a bus NACK
should be -ENXIO, so fix the error code.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c