1. 14 Feb, 2007 2 commits
    • Jean Delvare's avatar
      hwmon/f71805f: Fix a race condition · a117dddf
      Jean Delvare authored
      I think I introduced a potential race condition bug with commit
      . I didn't realize it
      back then, but platform_device_put and platform_device_release
      both appear to free the platform data associated with the device.
      This makes an explicit kfree redundant at best, and maybe even
      racy, as it might occur while someone still holds a reference
      to the platform device.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    • Jean Delvare's avatar
      hwmon: Simplify the locking model of two drivers · 7f999aa7
      Jean Delvare authored
      Many hardware monitoring drivers use two different mutexes, one to
      protect their per-device data structure, and one to protect the
      access to the device registers. These mutexes are essentially
      redundant, as the drivers are transfering values between the device
      registers and the data cache, so they almost always end up holding
      both mutexes at the same time. Using a single mutex will make the
      code more simple and faster.
      I am changing only two of the affected drivers here, the authors
      of the other affected drivers are welcome to submit similar patches
      if they want.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
  2. 12 Dec, 2006 8 commits
  3. 28 Sep, 2006 2 commits
  4. 22 Jun, 2006 1 commit
  5. 23 Mar, 2006 2 commits
  6. 06 Feb, 2006 1 commit
    • Jean Delvare's avatar
      [PATCH] hwmon: New f71805f driver · e53004e2
      Jean Delvare authored
      This is my f71805f hardware monitoring driver ported from lm_sensors
      to Linux 2.6. This new driver differs from the other hardware monitoring
      drivers in that it is implemented as a platform driver. This might not
      be optimal yet (we would probably need a generic infrastructure and bus
      type for Super-I/O logical devices) but it is certainly much better than
      the i2c-isa solution.
      Note that this driver requires lm_sensors CVS. I hope to get it
      released as 2.10.0 soon.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>