Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755951AbcJXSaB (ORCPT ); Mon, 24 Oct 2016 14:30:01 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:38884 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754353AbcJXSaA (ORCPT ); Mon, 24 Oct 2016 14:30:00 -0400 MIME-Version: 1.0 In-Reply-To: <1477125822-30644-1-git-send-email-david.wu@rock-chips.com> References: <1477125822-30644-1-git-send-email-david.wu@rock-chips.com> From: Doug Anderson Date: Mon, 24 Oct 2016 11:29:54 -0700 X-Google-Sender-Auth: wchZUapCaqXX5ugAR5qaHYEQ__8 Message-ID: Subject: Re: [PATCH] i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings To: David Wu Cc: =?UTF-8?Q?Heiko_St=C3=BCbner?= , Wolfram Sang , "linux-arm-kernel@lists.infradead.org" , "open list:ARM/Rockchip SoC..." , "linux-i2c@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 529 Lines: 15 Hi, On Sat, Oct 22, 2016 at 1:43 AM, David Wu 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 > --- > drivers/i2c/busses/i2c-rk3x.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Douglas Anderson