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

From: Wolfram Sang
Date: Sat Feb 23 2019 - 04:48:47 EST

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?

Attachment: signature.asc
Description: PGP signature