[PATCH] i2c: fix always-true condition in i2c_probe_chip()

Heiko Schocher hs at denx.de
Wed Mar 23 10:10:57 CET 2022


Hello Nikita,

On 15.02.22 18:58, Nikita Yushchenko wrote:
> Per dm_i2c_ops.probe_chip documentation, i2c_probe_chip() shall fallback
> to default probe method when .probe_chip() returns -ENOSYS.
> 
> Signed-off-by: Nikita Yushchenko <nikita.yoush at cogentembedded.com>
> ---
>  drivers/i2c/i2c-uclass.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-i2c master

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


More information about the U-Boot mailing list