[PATCH] drivers: mediatek: Fix error handling in mtk_i2c_do_transfer
Tom Rini
trini at konsulko.com
Thu Sep 14 18:08:39 CEST 2023
On Thu, Sep 14, 2023 at 05:16:43PM +0200, Heiko Schocher wrote:
> Hello Francois,
>
> On 08.09.23 18:47, 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>
> > ---
> > drivers/i2c/mtk_i2c.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Good catch!
>
> Reviewed-by: Heiko Schocher <hs at denx.de>
>
> @Tom: Can this go into the release so late? If so, I can make a
> pull request...
I'll pick it up, 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/20230914/63f21f62/attachment.sig>
More information about the U-Boot
mailing list