commit | 9355716d838a954c4989b0022b625a97da235f1c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Nov 09 07:12:49 2020 -0700 |
committer | Heiko Schocher <hs@denx.de> | Sat Nov 28 08:30:41 2020 +0100 |
tree | 66e86d8b7d15b28b8706face31ae8505f3c77726 | |
parent | edf478b67ee055f36808fe2541fea35310b4e14a [diff] |
i2c: designware_i2c: Don't warn if no reset controller At present if CONFIG_RESET is not enabled, this code shows a warning: designware_i2c_ofdata_to_platdata() i2c_designware_pci i2c2@16,0: Can't get reset: -524 Avoid this by checking if reset is supported, first. Fixes: 622597dee4f ("i2c: designware: add reset ctrl to driver") Signed-off-by: Simon Glass <sjg@chromium.org>