[PATCH] ti: i2c: fix probe_chip() return value

Tom Rini trini at konsulko.com
Mon Feb 21 17:40:01 CET 2022


On Tue, Feb 15, 2022 at 09:10:09PM +0300, Nikita Yushchenko wrote:

> Per documentation, dm_i2c_ops.probe_chip() shall return -EREMOTEIO if
> probe fails.
> 
> Currently, omap_i2c_probe_chip() returns 1 instead. Fix that.
> 
> Signed-off-by: Nikita Yushchenko <nikita.yoush at cogentembedded.com>
> Reviewed-by: Heiko Schocher <hs at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220221/1e65d130/attachment.sig>


More information about the U-Boot mailing list