Re: [PATCH] i2c: pxa: move to generic GPIO recovery

2020-10-03 Thread Codrin.Ciubotariu
>> static void i2c_pxa_unprepare_recovery(struct i2c_adapter *adap) >> @@ -1325,8 +1320,6 @@ static void i2c_pxa_unprepare_recovery(struct >> i2c_adapter *adap) >>i2c_pxa_do_reset(i2c); >>} >> >> - WARN_ON(pinctrl_select_state(i2c->pinctrl, i2c->pinctrl_default)); >>

Re: [PATCH] i2c: pxa: move to generic GPIO recovery

2020-10-03 Thread Russell King - ARM Linux admin
On Sat, Oct 03, 2020 at 07:21:41PM +0300, Codrin Ciubotariu wrote: > Starting with > commit 75820314de26 ("i2c: core: add generic I2C GPIO recovery") > GPIO bus recovery is supported by the I2C core, so we can remove the > driver implementation and use that one instead. > > Signed-off-by: Codrin

[PATCH] i2c: pxa: move to generic GPIO recovery

2020-10-03 Thread Codrin Ciubotariu
Starting with commit 75820314de26 ("i2c: core: add generic I2C GPIO recovery") GPIO bus recovery is supported by the I2C core, so we can remove the driver implementation and use that one instead. Signed-off-by: Codrin Ciubotariu --- This patch is not tested. The only different thing should be