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)
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>

No differences found