diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2017-08-09 15:24:44 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-08-14 21:13:29 +0200 |
commit | 4e2d93de070ceaca5097f7ee5c311731b83208a0 (patch) | |
tree | 62078d5e364e08b825ae829a8dca5c1dafa9a49f /drivers/i2c/i2c-core-base.c | |
parent | 984277a041d5ee4a65aaadf0307d67a7c401e11c (diff) | |
download | kernel_replicant_linux-4e2d93de070ceaca5097f7ee5c311731b83208a0.tar.gz kernel_replicant_linux-4e2d93de070ceaca5097f7ee5c311731b83208a0.tar.bz2 kernel_replicant_linux-4e2d93de070ceaca5097f7ee5c311731b83208a0.zip |
i2c: designware: Fix standard mode speed when configuring the slave mode
Code sets bit DW_IC_CON_SPEED_FAST (0x4) always when configuring the slave
mode. This results incorrect register value DW_IC_CON_SPEED_HIGH (0x6)
when OR'ed together with DW_IC_CON_SPEED_STD (0x2).
Remove this and let the code set the speed mode bits according to clock
frequency or default to fast mode.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core-base.c')
0 files changed, 0 insertions, 0 deletions