[U-Boot] [PATCH v2 06/34] i2c: designware: Add error checking on init

Heiko Schocher hs at denx.de
Sun Feb 17 05:31:09 UTC 2019


Hello Simon,

Am 17.02.2019 um 04:24 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 at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
> 
> Changes in v2: None
> 
>   drivers/i2c/designware_i2c.c | 29 +++++++++++++++++++----------
>   1 file changed, 19 insertions(+), 10 deletions(-)

Reviewed-by: Heiko Schocher <hs at denx.de>

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 at denx.de


More information about the U-Boot mailing list