diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2017-08-09 14:24:44 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-08-14 21:13:29 +0200 |
commit | 4e2d93de070ceaca5097f7ee5c311731b83208a0 (patch) | |
tree | 62078d5e364e08b825ae829a8dca5c1dafa9a49f /drivers/ssb/main.c | |
parent | i2c: designware: Fix oops from i2c_dw_irq_handler_slave (diff) | |
download | linux-4e2d93de070ceaca5097f7ee5c311731b83208a0.tar.xz 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/ssb/main.c')
0 files changed, 0 insertions, 0 deletions