[PATCH] i2c: bcm2835: Avoid clock stretching timeouts
wsa at the-dreams.de
Mon Feb 7 07:08:53 PST 2022
On Fri, Feb 23, 2018 at 10:42:31PM +0100, Stefan Wahren wrote:
> From: Eric Anholt <eric at anholt.net>
> The CLKT register contains at poweron 0x40, which at our typical 100kHz
> bus rate means .64ms. But there is no specified limit to how long devices
> should be able to stretch the clocks, so just disable the timeout. We
> still have a timeout wrapping the entire transfer.
> Signed-off-by: Eric Anholt <eric at anholt.net>
> Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
Okay, it has been years but the issue came up again  so finally
applied to for-current with stable added, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the linux-rpi-kernel