[PATCH] drivers: mediatek: Fix error handling in mtk_i2c_do_transfer
Tom Rini
trini at konsulko.com
Sat Sep 23 00:26:49 CEST 2023
On Fri, Sep 08, 2023 at 06:47:46PM +0200, Francois Berder wrote:
> Errors were handled only if an I2C transfer timed out
> and received a NACK which is very unlikely. This commit
> changes the condition such that errors are handled if
> an I2C transfer times out or received a NACK.
>
> Signed-off-by: Francois Berder <fberder at outlook.fr>
> 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/20230922/35bc2e3a/attachment.sig>
More information about the U-Boot
mailing list