aboutsummaryrefslogtreecommitdiff
path: root/fs/open.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2017-05-22 07:46:55 +0200
committerWolfram Sang <wsa@the-dreams.de>2017-05-22 10:35:51 +0200
commite2c824924cdb41528932c550647406ad81336b18 (patch)
tree126ee9510b32f73fe42b4bd74d262d7244f3d3d8 /fs/open.c
parent5165da5923d6c7df6f2927b0113b2e4d9288661e (diff)
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>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions