Skip to content
Commit 9495b9b3 authored by Eric Anholt's avatar Eric Anholt Committed by Wolfram Sang
Browse files

i2c: bcm2835: Avoid clock stretching timeouts



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: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
BugLink: https://github.com/raspberrypi/linux/issues/3064


Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent e783362e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment