[PATCH] drivers: mediatek: Fix error handling in mtk_i2c_do_transfer
Heiko Schocher
hs at denx.de
Thu Sep 14 17:16:43 CEST 2023
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...
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
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