Re: [PATCH v2 2/2] i2c: octeon: thunderx: Limit register access retries
From: Wolfram Sang
Date: Sat Sep 24 2016 - 05:24:46 EST
On Fri, Sep 23, 2016 at 11:40:39AM +0200, Jan Glauber wrote:
> Do not infinitely retry register readq and writeq operations
> in order to not lock up the CPU in case the TWSI gets stuck.
>
> Return -ETIMEDOUT in case of a failed data read. For all other
> cases just return so subsequent operations will fail
> and trigger the recovery.
>
> Signed-off-by: Jan Glauber <jglauber@xxxxxxxxxx>
Deleted the last 4 words from commit message (previous recovery patch
needs more discussion) and applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature