[PATCH] i2c: bcm2835: Set up the clock stretching timeout at boot.
From: Eric Anholt <hidden>
Date: 2016-07-04 01:02:42
Also in:
linux-i2c, lkml
From: Eric Anholt <hidden>
Date: 2016-07-04 01:02:42
Also in:
linux-i2c, lkml
Wolfram Sang [off-list ref] writes:
quoted
+ /* + * SMBUS says "Devices participating in a transfer will + * timeout when any clock low exceeds the value of + * T_TIMEOUT,MIN of 25 ms." + */SMBus has that timeout, but I2C doesn't. How about disabling the timeout simply? Or using the max value if you want to keep the timeout detection?
Disabling the timeout seems fine to me. We still have a 1-second timeout around the entire transfer. I'll be back on my DSI branch this week and test it out then. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160703/83f4c082/attachment.sig>