]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: rcar: fix NACK error code
authorBen Dooks <ben.dooks@codethink.co.uk>
Sun, 26 Jan 2014 16:05:37 +0000 (16:05 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 26 Jan 2014 21:48:36 +0000 (22:48 +0100)
commit6ff4b105163223741f5a82804f9695221017ae42
tree6c2bceb80ff2753a149fbedece45aacbc30383a0
parent25ee33fb824eb46ae77f6c962007492603d39772
i2c: rcar: fix NACK error code

The response to a bus NACK is to return -ENXIO instead of the
-EREMOTEIO being currently returned by the driver.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c