Latest commit e2c8249 May 22, 2017 @jan-kiszka jan-kiszka committed with Wolfram Sang i2c: designware: Fix bogus sda_hold_time due to uninitialized vars
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: 9d64084 ("i2c: designware: don't infer timings described by ACPI from clock rate")
Signed-off-by: Jan Kiszka <>
Reviewed-by: Ard Biesheuvel <>
Acked-by: Jarkko Nikula <>
Signed-off-by: Wolfram Sang <>