1. 20 Oct, 2014 1 commit
  2. 05 Aug, 2014 1 commit
    • Axel Lin's avatar
      hwmon: (dme1737) Prevent overflow problem when writing large limits · d58e47d7
      Axel Lin authored
      On platforms with sizeof(int) < sizeof(long), writing a temperature
      limit larger than MAXINT will result in unpredictable limit values
      written to the chip. Avoid auto-conversion from long to int to fix
      the problem.
      Voltage limits, fan minimum speed, pwm frequency, pwm ramp rate, and
      other attributes have the same problem, fix them as well.
      Zone temperature limits are signed, but were cached as u8, causing
      unepected values to be reported for negative temperatures. Cache as
      s8 to fix the problem.
      vrm is an u8, so the written value needs to be limited to [0, 255].
      Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
      [Guenter Roeck: Fix zone temperature cache]
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
  3. 07 Apr, 2013 1 commit
    • Guenter Roeck's avatar
      hwmon: Fix checkpatch warning 'quoted string split across lines' · b55f3757
      Guenter Roeck authored
      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: default avatarGuenter Roeck <linux@roeck-us.net>
  4. 25 Jan, 2013 1 commit
  5. 28 Nov, 2012 3 commits
  6. 23 Sep, 2012 1 commit
  7. 18 Mar, 2012 1 commit
    • Guenter Roeck's avatar
      hwmon: (dme1737) Fix checkpatch issues · c8de8362
      Guenter Roeck authored
      WARNING: braces {} are not necessary for any arm of this statement
      WARNING: braces {} are not necessary for single statement blocks
      WARNING: simple_strtol is obsolete, use kstrtol 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: Juerg Haefliger <juergh@gmail.com>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
  8. 12 Jan, 2012 1 commit
  9. 03 Jan, 2012 1 commit
  10. 12 Jan, 2011 2 commits
  11. 08 Jan, 2011 1 commit
  12. 27 May, 2010 1 commit
  13. 14 Dec, 2009 3 commits
  14. 09 Dec, 2009 1 commit
  15. 24 Oct, 2009 1 commit
  16. 23 Sep, 2009 1 commit
  17. 15 Sep, 2009 1 commit
  18. 07 Jan, 2009 1 commit
    • Jean Delvare's avatar
      hwmon: Check for ACPI resource conflicts · b9acb64a
      Jean Delvare authored
      Check for ACPI resource conflicts in hwmon drivers. I've included
      all Super-I/O and PCI drivers.
      I've voluntarily left out:
      * Vendor-specific drivers: if they conflicted on any system, this would
        pretty much mean that they conflict on all systems, and we would know
        by now.
      * Legacy ISA drivers (lm78 and w83781d): they only support chips found
        on old designs were ACPI either wasn't supported or didn't deal with
        thermal management.
      * Drivers accessing the I/O resources indirectly (e.g. through SMBus):
        the checks are already done where they belong, i.e. in the bus drivers.
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      Acked-by: default avatarDavid Hubbard <david.c.hubbard@gmail.com>
  19. 14 Oct, 2008 2 commits
    • Jean Delvare's avatar
      hwmon: (dme1737) Convert to a new-style i2c driver · 67a37308
      Jean Delvare authored
      The new-style dme1737 driver implements the optional detect() callback
      to cover the use cases of the legacy driver. I don't actually expect
      any new-style device for that driver, but as the old i2c API is going
      away soon, we have to switch to the new one.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Juerg Haefliger <juergh@gmail.com>
    • Jean Delvare's avatar
      hwmon: (dme1737) Be less i2c-centric · dbc2bc25
      Jean Delvare authored
      The dme1737 driver support both LPC (ISA) and SMBus devices. At the
      moment it's rather i2c-centric, and LPC variants use a fake i2c_client
      for some operations.
      In a near future, i2c_client will be allocated by i2c-core rather than
      by the device drivers, so non-i2c drivers will not have one. As a
      preparation step, change the driver code to no longer assume that
      an i2c_client structure is always available. No functional change.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Juerg Haefliger <juergh@gmail.com>
  20. 06 Aug, 2008 3 commits
  21. 31 Jul, 2008 3 commits
  22. 18 Feb, 2008 1 commit
  23. 07 Feb, 2008 3 commits
  24. 10 Oct, 2007 3 commits
  25. 09 Oct, 2007 1 commit
  26. 30 Jul, 2007 1 commit