]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c-algo-pca: Rework waiting for a free bus
authorWolfram Sang <w.sang@pengutronix.de>
Sat, 28 Mar 2009 20:34:45 +0000 (21:34 +0100)
committerJean Delvare <khali@linux-fr.org>
Sat, 28 Mar 2009 20:34:45 +0000 (21:34 +0100)
commit8e99ada8deaa9033600cd2c7d0a9366b0e99ab68
tree20784a41011e58f7ba6497d7a3763781b8a3d460
parenteff9ec95efaaf6b12d230f0ea7d3c295d3bc9d57
i2c-algo-pca: Rework waiting for a free bus

Waiting for a free bus now accepts the timeout value in jiffies and does
proper checking using time_before.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
arch/sh/boards/board-sh7785lcr.c
drivers/i2c/algos/i2c-algo-pca.c
drivers/i2c/busses/i2c-pca-isa.c
include/linux/i2c-pca-platform.h