[U-Boot] [RESEND PATCH v3 02/19] dm: i2c: Make i2c_get_chip_for_busnum() fail if the chip is not detected

Heiko Schocher hs at denx.de
Mon Dec 10 05:02:30 UTC 2018


Hello Jean-Jacques,

Am 07.12.2018 um 14:50 schrieb Jean-Jacques Hiblot:
> i2c_get_chip_for_busnum() really should check the presence of the chip on
> the bus. Most of the users of this function assume that this is done.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> 
> ---
> 
> Changes in v3:
> - removed commit introducing dm_i2c_probe_device(). Instead probe the
>    presence of the chip on the I2C bus in i2c_get_chip_for_busnum().
> 
> Changes in v2: None
> 
>   drivers/i2c/i2c-uclass.c | 11 +++++++++++
>   1 file changed, 11 insertions(+)

Thanks for resending!

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

bye,
Heiko Schocher
-- 
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