]> err.no Git - linux-2.6/commit
mpc-i2c: Propagate error values properly
authorJon Smirl <jonsmirl@gmail.com>
Sun, 27 Jan 2008 17:14:52 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:52 +0000 (18:14 +0100)
commit4bd28ebda2d48f16c1f16ff936a6927a4ef2194d
tree7688b06e4f4631f6fb04592f4351d687d0c2dd68
parente9f1373b643887f63878d1169b310c9acc534cd5
mpc-i2c: Propagate error values properly

Propagate the error values returned by i2c_wait() instead of overriding
them with a meaningless -1.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-mpc.c