commit | 8fcfef6e65c5b58e6482eae0b793319c8d9efd44 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sat Mar 28 21:34:43 2009 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Sat Mar 28 21:34:43 2009 +0100 |
tree | a41ba5854513ce8492620432920de7e6ad5698d1 | |
parent | 154d22b04ae1741c5fcfd5d747b813a9a279abff [diff] |
i2c: Set a default timeout value for all adapters Setting a default timeout value on a per-algo basis doesn't make any sense. Move the default value setting to i2c-core. Individual adapter drivers can specify a different (non-zero) value if they wish. Also express the timeout value in a way which results in the same duration regarless of the value of HZ. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Wolfram Sang <w.sang@pengutronix.de>