On Mon, Mar 07, 2016 at 04:10:48PM +0100, Jan Glauber wrote:
> From: Peter Swain <[email protected]>
> 
> Make the i2c adapter timeout a module parameter to allow upper-level
> target device drivers to retry with their own logic before their own
> timeouts abort operations.
> 
> For example, at24 eeprom driver retries for 25ms when -EAGAIN
> indicates that an eeprom has gone unresponsive while committing
> a newly written page (5ms on typical devices).
> 
> Signed-off-by: Peter Swain <[email protected]>
> Signed-off-by: Jan Glauber <[email protected]>

i2c-dev has IOCTLs for timeout and retries. Can't you use those?

Attachment: signature.asc
Description: PGP signature

Reply via email to