1. 25 10月, 2011 18 次提交
  2. 20 10月, 2011 1 次提交
  3. 14 10月, 2011 1 次提交
    • J
      hwmon: (w83627ehf) Properly report thermal diode sensors · bf164c58
      Jean Delvare 提交于
      The w83627ehf driver is improperly reporting thermal diode sensors as
      type 2, instead of 3. This caused "sensors" and possibly other
      monitoring tools to report these sensors as "transistor" instead of
      "thermal diode".
      
      Furthermore, diode subtype selection (CPU vs. external) is only
      supported by the original W83627EHF/EHG. All later models only support
      CPU diode type, and some (NCT6776F) don't even have the register in
      question so we should avoid reading from it.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      bf164c58
  4. 28 9月, 2011 2 次提交
  5. 24 9月, 2011 3 次提交
  6. 22 9月, 2011 5 次提交
  7. 14 9月, 2011 1 次提交
  8. 13 9月, 2011 1 次提交
    • G
      hwmon: (pmbus) Fix low limit temperature alarms · 40257b95
      Guenter Roeck 提交于
      Temperature alarms are detected by checking the alarm bit and comparing
      temperature limits against the current temperature. For low limits, this
      comparison needs to be reversed (temp < limit instead of temp > limit).
      This was not taken into account, resulting in wrong alarms if a temperature
      fell below a low limit.
      
      Fix by adding a low limit flag in the limit data structure. When creating the
      sensor entry, the order of registers to compare is now reversed for low limits.
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org # 3.0+
      40257b95
  9. 06 9月, 2011 2 次提交
  10. 24 8月, 2011 1 次提交
  11. 23 8月, 2011 1 次提交
    • G
      hwmon: (ntc_thermistor) Simplify if sequence · 858a9143
      Guenter Roeck 提交于
      Replace unnecessary if with else statement.
      
      This fixes the following (false) compile warning reported with some combinations
      of C compiler version and configuration.
      
      drivers/hwmon/ntc_thermistor.c: In function 'ntc_show_temp':
      drivers/hwmon/ntc_thermistor.c:225: warning: 'low' may be used uninitialized in
      this function
      drivers/hwmon/ntc_thermistor.c:225: note: 'low' was declared here
      drivers/hwmon/ntc_thermistor.c:225: warning: 'high' may be used uninitialized in
      this function
      drivers/hwmon/ntc_thermistor.c:225: note: 'high' was declared here
      drivers/hwmon/ntc_thermistor.c:294: warning: 'temp' may be used uninitialized in
      this function
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      858a9143
  12. 12 8月, 2011 3 次提交
  13. 29 7月, 2011 1 次提交