summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-09 17:12:49 +0300
committerHeiko Schocher <hs@denx.de>2020-11-28 10:30:41 +0300
commit942012246a7a1dea66869be7763d73f0565bdb7b (patch)
tree66e86d8b7d15b28b8706face31ae8505f3c77726 /lib/string.c
parent5a13c0d1348284b7f2a2c9b463ceedac67166d07 (diff)
downloadu-boot-942012246a7a1dea66869be7763d73f0565bdb7b.tar.xz
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions