• O
    i2c-nforce2: Move status checking to a separate function · 41535497
    Oleg Ryjkov 提交于
    This is the first part of the patch that adds a function to reset the
    nvidia MCP51/55 i2c controller, if something bad happens to it (e.g.
    a slave sends a wrong byte count during a block transaction).
    
    This patch just adds nforce2_check_status function. It was originally
    written by Hans-Frieder Vogt.
    
    The reason that I'm the one sending it is:
    - I relied on it for the second part of the patch,
    - It makes the driver code cleaner/better.
    Signed-off-by: NOleg Ryjkov <olegr@olegr.ca>
    Signed-off-by: NJean Delvare <khali@linux-fr.org>
    41535497
i2c-nforce2.c 10.5 KB