OpenCloudOS-Kernel/drivers/i2c/algos
Thomas Kavanagh 5f71a3ef37 i2c: algo: pca: Fix mode selection for PCA9665
The code currently always selects turbo mode for PCA9665, no matter which
clock frequency is configured. This is because it compares the clock frequency
against constants reflecting (boundary / 100). Compare against real boundary
frequencies to fix the problem.

Signed-off-by: Thomas Kavanagh <tkavanagh@juniper.net>
Signed-off-by: Guenter Roeck <groeck@juniper.net>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2012-09-14 15:25:22 +02:00
..
Kconfig i2c/algos: convert Kconfig to use the menu's `visible' keyword 2010-11-22 11:27:35 -02:00
Makefile i2c: Change to new flag variable 2010-10-24 18:16:58 +02:00
i2c-algo-bit.c i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING 2012-05-30 10:55:34 +02:00
i2c-algo-pca.c i2c: algo: pca: Fix mode selection for PCA9665 2012-09-14 15:25:22 +02:00
i2c-algo-pcf.c i2c: Update the FSF address 2012-03-26 21:47:19 +02:00
i2c-algo-pcf.h i2c: Update the FSF address 2012-03-26 21:47:19 +02:00