Re: [PATCH v2] i2c: cadence: try reset when master receive arbitration lost

2019-03-09 Thread Wolfram Sang
On Sat, Mar 09, 2019 at 10:44:52AM +0100, Wolfram Sang wrote: > On Sat, Feb 23, 2019 at 10:48:43AM +0100, Wolfram Sang wrote: > > On Tue, Feb 19, 2019 at 09:24:47AM +0800, Shikai Wang wrote: > > > When the adapter receive arbitration lost error interrupts, > > > cdns_i2c_master_xfer return to the

Re: [PATCH v2] i2c: cadence: try reset when master receive arbitration lost

2019-03-09 Thread Wolfram Sang
On Sat, Feb 23, 2019 at 10:48:43AM +0100, Wolfram Sang wrote: > On Tue, Feb 19, 2019 at 09:24:47AM +0800, Shikai Wang wrote: > > When the adapter receive arbitration lost error interrupts, > > cdns_i2c_master_xfer return to the caller directly instead of resetting > > the adapter which resulted in

Re: [PATCH v2] i2c: cadence: try reset when master receive arbitration lost

2019-02-23 Thread Wolfram Sang
On Tue, Feb 19, 2019 at 09:24:47AM +0800, Shikai Wang wrote: > When the adapter receive arbitration lost error interrupts, > cdns_i2c_master_xfer return to the caller directly instead of resetting > the adapter which resulted in the adapter being out of control. > > So when driver detect

[PATCH v2] i2c: cadence: try reset when master receive arbitration lost

2019-02-18 Thread Shikai Wang
When the adapter receive arbitration lost error interrupts, cdns_i2c_master_xfer return to the caller directly instead of resetting the adapter which resulted in the adapter being out of control. So when driver detect err_status such as arbitration lost, then try to repair and fix it.