diff options
author | Thomas Kavanagh <tkavanagh@juniper.net> | 2012-09-13 15:16:55 (GMT) |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-09-14 13:25:22 (GMT) |
commit | 5f71a3ef3753ac2068009637eee619e163f44b30 (patch) | |
tree | f2dd903950cfd5732126210c475b040c940838f1 /include | |
parent | 4a5b2b269e2780790687cfc7c2fc438cb6d8964e (diff) | |
download | linux-5f71a3ef3753ac2068009637eee619e163f44b30.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions