summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-02-17 06:24:39 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-02-20 10:21:44 +0300
commit2b5d029db8a6875a19e60e2e29e9dbe1d5d78968 (patch)
treeb352295e81605c95099b30ba3573a6e356dac79a /include/pci.h
parent529f57d92666631383fb3d8fff50028da91de006 (diff)
downloadu-boot-2b5d029db8a6875a19e60e2e29e9dbe1d5d78968.tar.xz
i2c: designware: Add error checking on init
At present this driver does not check whether it is able to actually communicate with the I2C controller. It prints a timeout message but still considers the probe to be successful. To fix this, add some checking that the init succeeds. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/pci.h')
0 files changed, 0 insertions, 0 deletions