Re: [PATCH] i2c: designware: Fix bogus sda_hold_time due to uninitialized vars

From: Jarkko Nikula
Date: Mon May 22 2017 - 02:39:33 EST


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 <jan.kiszka@xxxxxxxxxxx>
---

Affects 4.12-rc2.

Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>