i2c-pca-algo: Fix error code
commitc80ebe7987931ec4e80abc33ebf8aa2dad0d3763
authorWolfram Sang <w.sang@pengutronix.de>
Mon, 14 Jul 2008 20:38:26 +0000 (14 22:38 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Mon, 14 Jul 2008 20:38:26 +0000 (14 22:38 +0200)
tree83179c695a020742e3b918663ec62f2352bf08e9
parentac7fc4fb2b6a126af8d07f46500440c9641976cf
i2c-pca-algo: Fix error code

Give a more concrete error code, when the bus is not idle.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/algos/i2c-algo-pca.c