• Jan Glauber's avatar
    i2c: octeon: Use i2c recovery framework · c981e34e
    Jan Glauber authored
    Switch to the i2c bus recovery framework using generic SCL recovery.
    If this fails try to reset the hardware. The recovery is triggered
    during START on timeout of the interrupt or failure to reach
    the START / repeated-START condition.
    
    The START function is moved to xfer and while at it remove the
    xfer debug message (i2c core already provides a debug message
    for this).
    Signed-off-by: default avatarJan Glauber <jglauber@cavium.com>
    [wsa: removed one empty line]
    Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
    c981e34e
i2c-octeon.c 17.6 KB