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

From: Doug Anderson
Date: Mon Oct 24 2016 - 14:30:04 EST


Hi,

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

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>