commit | 2378bc09b91b0702fac7823828a614fd8016a29f | [log] [tgz] |
---|---|---|
author | Wolfram Sang <w.sang@pengutronix.de> | Sat Mar 28 21:34:45 2009 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Sat Mar 28 21:34:45 2009 +0100 |
tree | 26539b17077028baba2741cf0e78fc01225a7d36 | |
parent | 8e99ada8deaa9033600cd2c7d0a9366b0e99ab68 [diff] |
i2c-algo-pca: Use timeout for checking the state machine We now timeout also if the state machine does not change within the given time. For that, the driver-specific completion-functions are extended to return true or false depending on the timeout. This then gets checked in the algorithm. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>