1. 26 Oct, 2008 5 commits
    • Jean Delvare's avatar
      hwmon: (adt7473) Fix voltage conversion routines · be821b78
      Jean Delvare authored
      Fix voltage conversion routines. Based on an earlier patch from
      Paulius Zaleckas.
      
      According to the datasheet voltage is scaled with resistors and
      value 192 is nominal voltage. 0 is 0V.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
      Cc: Darrick J. Wong <djwong@us.ibm.com>
      be821b78
    • Jean Delvare's avatar
      hwmon: (lm90) Add support for the LM99 16 degree offset · 97ae60bb
      Jean Delvare authored
      The LM99 differs from the LM86, LM89 and LM90 in that it reports
      remote temperatures (temp2) 16 degrees lower than they really are. So
      far we have been cheating and handled this in userspace but it really
      should be handled by the driver directly.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Matthew Garrett <mjg59@srcf.ucam.org>
      97ae60bb
    • Jean Delvare's avatar
      hwmon: (lm90) Fix handling of hysteresis value · ec38fa2b
      Jean Delvare authored
      There are several problems in the way the hysteresis value is handled
      by the lm90 driver:
      
      * In show_temphyst(), specific handling of the MAX6646 is missing, so
        the hysteresis is reported incorrectly if the critical temperature
        is over 127 degrees C.
      * In set_temphyst(), the new hysteresis register value is written to
        the chip but data->temp_hyst isn't updated accordingly, so there is
        a short period of time (up to 2 seconds) where the old hystereris
        value will be returned while the new one is already active.
      * In set_temphyst(), the critical temperature which is used as a base
        to compute the value of the hysteresis register lacks
        device-specific handling. As a result, the value of the hysteresis
        register might be incorrect for the ADT7461 and MAX6646 chips.
      
      Fix these 3 bugs.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Ben Hutchings <bhutchings@solarflare.com>
      Cc: Nate Case <ncase@xes-inc.com>
      ec38fa2b
    • Jean Delvare's avatar
      hwmon-vid: Add support for AMD family 10h CPUs · 1b871826
      Jean Delvare authored
      The AMD family 10h CPUs use the same VID decoding table as the family
      0Fh CPUs.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Rudolf Marek <r.marek@assembler.cz>
      1b871826
    • Geert Uytterhoeven's avatar
      hwmon: (w83781d) Fix linking when built-in · dd56b638
      Geert Uytterhoeven authored
      When w83781d is built-in, the final links fails with the following vague error
      message:
      
      `.exit.text' referenced in section `.init.text' of drivers/built-in.o: defined
      in discarded section `.exit.text' of drivers/built-in.o
      
      w83781d_isa_unregister() cannot be marked __exit, as it's also called from
      sensors_w83781d_init(), which is marked __init.
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Cc: Wolfgang Grandegger <wg@grandegger.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      dd56b638
  2. 24 Oct, 2008 5 commits
  3. 23 Oct, 2008 30 commits