Re: [PATCH v2] i2c: at91: Send bus clear command if SCL or SDA is down

2019-09-25 Thread kbuild test robot
Hi Codrin, I love your patch! Perhaps something to improve: [auto build test WARNING on wsa/i2c/for-next] [cannot apply to v5.3 next-20190924] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify

[PATCH v2] i2c: at91: Send bus clear command if SCL or SDA is down

2019-09-25 Thread Codrin Ciubotariu
After a transfer timeout, some faulty I2C slave devices might hold down the SCL or the SDA pins. We can generate a bus clear command, hoping that the slave might release the pins. Signed-off-by: Codrin Ciubotariu Acked-by: Ludovic Desroches --- Changes in v2: - added '.has_clear_cmd' struct