• Jean Delvare's avatar
    [PATCH] I2C: 24RF08 corruption prevention (again) · 0d73adc1
    Jean Delvare authored
    The 24RF08 corruption prevention in the eeprom and max6875 drivers wasn't
    complete. For one thing, the additional quick write should happen as soon
    as possible and unconditionally, while both drivers had error paths before.
    For another, when a given chip is forced, the core does not emit a quick
    write, so a second quick write would cause the corruption rather than
    prevent it.
    
    I plan to move the corruption prevention in the core in the long run, so
    that individual drivers don't have to care anymore. But I need to merge
    i2c_probe and i2c_detect before I do (work in progress).
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    0d73adc1
max6875.c 13.8 KB