Jan Kiszka e2c824924c 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: 9d6408433019 ("i2c: designware: don't infer timings described by ACPI from clock rate")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2017-05-22 10:35:51 +02:00
..
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2008-01-27 18:14:45 +01:00
2017-04-16 21:51:30 +02:00
2014-11-07 18:35:33 +01:00
2016-10-25 11:48:58 +02:00
2014-11-07 18:35:33 +01:00
2015-08-10 08:37:28 +02:00
2014-11-07 18:35:33 +01:00
2016-11-29 22:43:38 +01:00
2017-03-08 17:54:59 +01:00
2017-04-16 21:48:06 +02:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2017-01-25 22:16:59 +01:00
2014-11-07 18:35:33 +01:00
2017-03-23 21:44:21 +01:00
2017-02-20 19:12:38 +01:00