android_kernel_xiaomi_sm8350/drivers/i2c/algos
Jean Delvare 8fcfef6e65 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>
2009-03-28 21:34:43 +01:00
..
i2c-algo-bit.c i2c: Set a default timeout value for all adapters 2009-03-28 21:34:43 +01:00
i2c-algo-pca.c
i2c-algo-pcf.c i2c: Set a default timeout value for all adapters 2009-03-28 21:34:43 +01:00
i2c-algo-pcf.h
i2c-algo-sgi.c
Kconfig i2c: Let users select algorithm drivers manually again 2008-08-10 22:56:15 +02:00
Makefile