summaryrefslogtreecommitdiff
path: root/drivers/hwmon/max6639.c
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2011-02-11 08:00:58 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-03-14 22:39:18 -0700
commit26bc440e3f14df5daff4d1ff0f37de5e260cea18 (patch)
tree26c639e33085a935fb683708416fde45d2f73abb /drivers/hwmon/max6639.c
parentec3e5a16446fef1891611fe3bdfa5954d1ddf5e4 (diff)
hwmon: (w83627ehf) Use 16 bit fan count registers if supported
Some of the chips supported by this driver have 13 bit or 16 bit fan count registers. This patch improves support for those registers, specifically for NCT6775F. With the changes in this patch, fan speed is reported correctly even if the fan divider is set to a low value, which results in a fan speed reading above 0xff. With this patch, the width of fan count registers is no longer used to determine if the chip has fan divider register(s) or not. A dedicated flag is used instead to determine if this is the case. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Acked-by: Ian Dobson <i.dobson@planet-ian.com>
Diffstat (limited to 'drivers/hwmon/max6639.c')
0 files changed, 0 insertions, 0 deletions