[PATCH] board: gw_ventana: gsc: fix GSC read/write functions

Tom Rini trini at konsulko.com
Thu Mar 31 15:38:46 CEST 2022


On Thu, Mar 24, 2022 at 08:32:00AM -0700, Tim Harvey wrote:

> commit 7c84319af9c7 ("dm: gpio: Correct use of -ENODEV in drivers")
> changed the return code for an I2C NAK from -ENODEV to -EREMOTEIO.
> 
> Update the gsc_i2c_read and gsc_i2c_write functions for this change
> to properly retry the transaction on a NAK meaning the GSC is busy.
> 
> Fixes: 7c84319af9c7 ("dm: gpio: Correct use of -ENODEV in drivers")
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> Reviewed-by: Fabio Estevam <festevam 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/20220331/8d25ed48/attachment.sig>


More information about the U-Boot mailing list