diff options
author | David Wu <david.wu@rock-chips.com> | 2016-10-22 16:43:42 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-10-25 11:11:46 +0200 |
commit | 399c168ab5ab5e12ed55b6c91d61c24eb84c9164 (patch) | |
tree | a8c0f00597e7df9f326405896b501e65cc4eb695 /drivers/i2c/i2c-core.c | |
parent | ae824f00241f495e8d55ebdc0341f3ce61a77da6 (diff) | |
download | linux-399c168ab5ab5e12ed55b6c91d61c24eb84c9164.tar.gz linux-399c168ab5ab5e12ed55b6c91d61c24eb84c9164.tar.bz2 linux-399c168ab5ab5e12ed55b6c91d61c24eb84c9164.zip |
i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings
We found a bug that i2c transfer sometimes failed on 3066a board with
stabel-4.8, the con register would be updated by uninitialized tuning
value, it made the i2c transfer failed.
So give the tuning value to be zero during rk3x_i2c_v0_calc_timings.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Tested-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/i2c/i2c-core.c')
0 files changed, 0 insertions, 0 deletions