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

2019-02-18 Thread Wolfram Sang
On Mon, Feb 18, 2019 at 05:41:32PM +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

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

2019-02-18 Thread Michal Simek
On 18. 02. 19 10:41, 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 err_status such as

[PATCH] 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.

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

2019-02-18 Thread Michal Simek
Hi, On 18. 02. 19 9:35, sxauwsk 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 err_status such as

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

2019-02-18 Thread sxauwsk
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.