aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorThomas Kavanagh <[email protected]>2012-09-13 15:16:55 +0000
committerWolfram Sang <[email protected]>2012-09-14 13:25:22 +0000
commit5f71a3ef3753ac2068009637eee619e163f44b30 (patch)
treef2dd903950cfd5732126210c475b040c940838f1 /lib/dynamic_debug.c
parentMAINTAINERS: fix tree for current i2c-embedded development (diff)
downloadkernel-5f71a3ef3753ac2068009637eee619e163f44b30.tar.gz
kernel-5f71a3ef3753ac2068009637eee619e163f44b30.zip
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 <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions