]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] I2C: i2c-algo-pca -- gracefully handle a busy bus
authorIan Campbell <icampbell@arcom.com>
Wed, 10 Aug 2005 07:51:16 +0000 (08:51 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:14:15 +0000 (09:14 -0700)
commit48edcb65ddcd93b6421831ad133599aacea9724a
tree8897c3568fc5f6651fa0ddb80d7e60a8ca2adef4
parentcdcb19219714c796ddef1202e952566c5f86354d
[PATCH] I2C: i2c-algo-pca -- gracefully handle a busy bus

I've been running with this patch for a while now, and while I've never
seen it trigger except with buggy hardware I think it is a cleaner way
to handle a busy bus. I had -EBUSY until about 10 minutes ago but -EIO
seems to be what most of the existing algo drivers will return in the
same circumstances.

Signed-off-by: Ian Campbell <icampbell@arcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/algos/i2c-algo-pca.c