
22 Jan
2019
22 Jan
'19
6:05 a.m.
Hello Simon,
Am 22.01.2019 um 02:12 schrieb Simon Glass:
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
drivers/i2c/designware_i2c.c | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-)
Reviewed-by: Heiko Schocher hs@enx.de
Thanks!
bye, Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de