i2c: mv64xxx: Fix transfer error code
authorGuenter Roeck <linux@roeck-us.net>
Wed, 19 Jun 2013 21:53:52 +0000 (14:53 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 25 Jun 2013 16:42:19 +0000 (18:42 +0200)
commit6faa3535599a6f9ef367e3fd5c5126207a356a53
tree8efb31a11ca9849d7a821c68e13fcb127c1a3d30
parentf39901c1befa556bc91902516a3e2e460000b4a8
i2c: mv64xxx: Fix transfer error code

The driver returns -ENODEV as error code if it did not get an ACK
from the device. Per Documentation/i2c/fault-codes, it should
return -ENXIO.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mv64xxx.c