Re: [PATCH v2 0/6] i2c: send STOP after recovery; use it for i2c-rcar

2018-01-15 Thread Wolfram Sang
On Tue, Jan 09, 2018 at 02:58:53PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > When implementing bus recovery for the i2c-rcar driver, two problems were > encountered: 1) When reading the SDA bit, not the SDA status was returned but > the internal state

[PATCH v2 0/6] i2c: send STOP after recovery; use it for i2c-rcar

2018-01-09 Thread Wolfram Sang
From: Wolfram Sang When implementing bus recovery for the i2c-rcar driver, two problems were encountered: 1) When reading the SDA bit, not the SDA status was returned but the internal state of the "bus_is_busy" logic. 2) This logic needs a STOP to consider the