From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752469AbdEVGja (ORCPT ); Mon, 22 May 2017 02:39:30 -0400 Received: from mga01.intel.com ([192.55.52.88]:21711 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbdEVGj0 (ORCPT ); Mon, 22 May 2017 02:39:26 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,377,1491289200"; d="scan'208";a="264781640" Subject: Re: [PATCH] i2c: designware: Fix bogus sda_hold_time due to uninitialized vars To: Jan Kiszka , Ard Biesheuvel , Andy Shevchenko , mika.westerberg@linux.intel.com, wsa@the-dreams.de, linux-i2c@vger.kernel.org, Lorenzo Pieralisi References: <20170519085640.15111-1-ard.biesheuvel@linaro.org> <743ebd23-17ab-03d2-ebd9-66acc9aee417@siemens.com> Cc: "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List From: Jarkko Nikula Message-ID: Date: Mon, 22 May 2017 09:37:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <743ebd23-17ab-03d2-ebd9-66acc9aee417@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/22/2017 08:46 AM, Jan Kiszka wrote: > We need to initializes those variables to 0 for platforms that do not > provide ACPI parameters. Otherwise, we set sda_hold_time to random > values, breaking e.g. Galileo and IOT2000 boards. > > Fixes: 9d6408433019 ("i2c: designware: don't infer timings described by ACPI from clock rate") > Signed-off-by: Jan Kiszka > --- > > Affects 4.12-rc2. > Acked-by: Jarkko Nikula