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

Jarkko Nikula jarkko.nikula at linux.intel.com
Sun May 21 23:37:13 PDT 2017


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 at siemens.com>
> ---
>
> Affects 4.12-rc2.
>
Acked-by: Jarkko Nikula <jarkko.nikula at linux.intel.com>



More information about the linux-arm-kernel mailing list