[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160924092436.GH1434@katana>
Date: Sat, 24 Sep 2016 11:24:36 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Jan Glauber <jglauber@...ium.com>
Cc: linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
Dmitry Bazhenov <dmitry.bazhenov@...iga.com>
Subject: Re: [PATCH v2 2/2] i2c: octeon: thunderx: Limit register access
retries
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@...ium.com>
Deleted the last 4 words from commit message (previous recovery patch
needs more discussion) and applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists