Re: [PATCH v2] i2c: cadence: try reset when master receive arbitration lost
From: Shubhrajyoti Datta
Date: Tue Nov 05 2019 - 02:42:37 EST
Hi Shikai,
On Tue, Feb 19, 2019 at 8:19 AM Shikai Wang <sxauwsk@xxxxxxx> 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.
>
I am missing the issue that you are facing.
You are having a multimaster scenario and getting arbitration lost.
the current code would attempt a retry did that lead to any issues?
Can you explain the issue that you are facing?