• Jean Delvare's avatar
    [PATCH] I2C: Improve it87 super-i/o detection · f2e1491e
    Jean Delvare authored
    This patch improves the detection of Super-I/O it87 chips (IT8712F,
    IT8705F).
    
    * Find the IT8712F and IT8705F address through Super-I/O (as opposed to
      IT8712F only so far).
    
    * Verify that the device is activated. Print info lines if a
      disactivated or unconfigured chip is found.
    
    * Print an info line when finding either chip, with device name,
      address and revision.
    
    * Rearrange code in it87_find() (error path).
    
    * (bonus) Get rid of the useless i2c_client id.
    
    Successfully tested on two IT8712F and one IT8705F, thanks to Jonas
    Munsin, Rudolf Marek and Karine Proot.
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    f2e1491e
it87.c 34.1 KB