[PATCH] i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings

Doug Anderson dianders at chromium.org
Mon Oct 24 11:29:54 PDT 2016


On Sat, Oct 22, 2016 at 1:43 AM, David Wu <david.wu at rock-chips.com> wrote:
> 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 at rock-chips.com>
> ---
>  drivers/i2c/busses/i2c-rk3x.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Douglas Anderson <dianders at chromium.org>

More information about the Linux-rockchip mailing list