[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yn+1qhStF9TiyJVj@shikoro>
Date: Sat, 14 May 2022 15:59:06 +0200
From: Wolfram Sang <wsa@...nel.org>
To: Lucas Tanure <tanureal@...nsource.cirrus.com>
Cc: Michal Simek <michal.simek@...inx.com>,
Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>,
linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...nsource.cirrus.com
Subject: Re: [PATCH v2 RESEND] i2c: cadence: Increase timeout per message if
necessary
On Wed, Apr 13, 2022 at 10:14:10AM +0100, Lucas Tanure wrote:
> Timeout as 1 second sets an upper limit on the length
> of the transfer executed, but there is no maximum length
> of a write or read message set in i2c_adapter_quirks for
> this controller.
>
> This upper limit affects devices that require sending
> large firmware blobs over I2C.
>
> To remove that limitation, calculate the minimal time
> necessary, plus some wiggle room, for every message and
> use it instead of the default one second, if more than
> one second.
>
> Signed-off-by: Lucas Tanure <tanureal@...nsource.cirrus.com>
> Acked-by: Michal Simek <michal.simek@...inx.com>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists