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

From: Wolfram Sang
Date: Sat Mar 09 2019 - 04:44:59 EST


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 the adapter being out of control.
> >
> > So when driver detect err_status such as arbitration lost,
> > then try to repair and fix it.
>
> Just checking because resetting looks like a big hammer to me: there is
> no way to gracefully recover form 'arbitration lost' interrupt?

I am still wondering about this but since it is acked by the maintainer:

Applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature