Re: [PATCH] drivers: mediatek: Fix error handling in mtk_i2c_do_transfer

2023-09-22 Thread Tom Rini
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

Re: [PATCH] drivers: mediatek: Fix error handling in mtk_i2c_do_transfer

2023-09-14 Thread Tom Rini
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 handl

Re: [PATCH] drivers: mediatek: Fix error handling in mtk_i2c_do_transfer

2023-09-14 Thread Heiko Schocher
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: Fr

[PATCH] drivers: mediatek: Fix error handling in mtk_i2c_do_transfer

2023-09-08 Thread Francois Berder
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 --- drivers/i2c/mtk_i2c.c | 2 +- 1 file changed, 1 ins