1. 04 8月, 2014 2 次提交
  2. 31 7月, 2014 1 次提交
    • G
      hwmon: (lm85) Fix various errors on attribute writes · 3248c3b7
      Guenter Roeck 提交于
      Temperature limit register writes did not account for negative numbers.
      As a result, writing -127000 resulted in -126000 written into the
      temperature limit register. This problem affected temp[1-3]_min,
      temp[1-3]_max, temp[1-3]_auto_temp_crit, and temp[1-3]_auto_temp_min.
      
      When writing pwm[1-3]_freq, a long variable was auto-converted into an int
      without range check. Wiring values larger than MAXINT resulted in unexpected
      register values.
      
      When writing temp[1-3]_auto_temp_max, an unsigned long variable was
      auto-converted into an int without range check. Writing values larger than
      MAXINT resulted in unexpected register values.
      
      vrm is an u8, so the written value needs to be limited to [0, 255].
      
      Cc: Axel Lin <axel.lin@ingics.com>
      Cc: stable@vger.kernel.org
      Reviewed-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      3248c3b7
  3. 12 6月, 2014 1 次提交
  4. 30 1月, 2014 1 次提交
  5. 08 4月, 2013 1 次提交
    • G
      hwmon: Fix checkpatch warning 'quoted string split across lines' · b55f3757
      Guenter Roeck 提交于
      Cc: Corentin Labbe <corentin.labbe@geomatys.fr>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Juerg Haefliger <juergh@gmail.com>
      Cc: Andreas Herrmann <herrmann.der.user@googlemail.com>
      Cc: Rudolf Marek <r.marek@assembler.cz>
      Cc: Jim Cromie <jim.cromie@gmail.com>
      Cc: Roger Lucas <vt8231@hiddenengine.co.uk>
      Cc: Marc Hulsman <m.hulsman@tudelft.nl>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      b55f3757
  6. 26 1月, 2013 1 次提交
  7. 22 7月, 2012 1 次提交
  8. 19 3月, 2012 2 次提交
    • G
      hwmon: (lm85) Fix checkpatch issues · 09770b26
      Guenter Roeck 提交于
      Fixed:
      ERROR: code indent should use tabs where possible
      ERROR: do not use assignment in if condition
      WARNING: simple_strtol is obsolete, use kstrtol instead
      WARNING: simple_strtoul is obsolete, use kstrtoul instead
      
      Modify multi-line comments to follow Documentation/CodingStyle.
      
      Also: s/#define^I/#define /
      
      Not fixed (false positive):
      ERROR: Macros with multiple statements should be enclosed in a do - while loop
      
      Cc: Jean Delvare <khali@linux-fr.org>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      09770b26
    • A
      hwmon: convert drivers/hwmon/* to use module_i2c_driver() · f0967eea
      Axel Lin 提交于
      This patch converts the drivers in drivers/hwmon/* to use the
      module_i2c_driver() macro which makes the code smaller and a bit simpler.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Cc: Corentin Labbe <corentin.labbe@geomatys.fr>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
      Cc: Steve Glendinning <steve.glendinning@smsc.com>
      Cc: Riku Voipio <riku.voipio@iki.fi>
      Cc: Guillaume Ligneul <guillaume.ligneul@gmail.com>
      Cc: David George <david.george@ska.ac.za>
      Cc: "Hans J. Koch" <hjk@hansjkoch.de>
      Cc: Marc Hulsman <m.hulsman@tudelft.nl>
      Cc: Rudolf Marek <r.marek@assembler.cz>
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      f0967eea
  9. 29 4月, 2011 2 次提交
  10. 31 3月, 2011 1 次提交
  11. 15 3月, 2011 4 次提交
  12. 19 2月, 2011 1 次提交
    • J
      hwmon: (lm85) extend to support EMC6D103 chips · f065a93e
      Jan Beulich 提交于
      The interface is identical EMC6D102, so all that needs to be added are
      some definitions and their uses.
      
      Registers apparently missing in EMC6D103S/EMC6D103:A2 compared to EMC6D103:A0,
      EMC6D103:A1, and EMC6D102 (according to the data sheets), but used
      unconditionally in the driver: 62[5:7], 6D[0:7], and 6E[0:7]. For that
      reason, EMC6D103S chips don't get enabled for the time being.
      Signed-off-by: NJan Beulich <jbeulich@novell.com>
      (Guenter Roeck: Replaced EMC6D103_A2 with EMC6D103S per EMC6D103S datasheet)
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      Cc: stable@kernel.org
      f065a93e
  13. 29 10月, 2010 2 次提交
  14. 15 12月, 2009 3 次提交
  15. 10 12月, 2009 1 次提交
  16. 15 9月, 2009 1 次提交
  17. 11 3月, 2009 2 次提交
  18. 13 11月, 2008 1 次提交
  19. 17 10月, 2008 7 次提交
  20. 01 8月, 2008 5 次提交