summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/max34440.c
diff options
context:
space:
mode:
authorNikolaus Schulz <schulz@macnetix.de>2012-02-22 22:18:44 (GMT)
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-02-23 14:47:47 (GMT)
commitc1c1a3d012fe5e82a9a025fb4b5a4f8ee67a53f6 (patch)
tree5a123a800cd8b845b164f46ce311b81210df9b31 /drivers/hwmon/pmbus/max34440.c
parent363434b5dc352464ac7601547891e5fc9105f124 (diff)
downloadlinux-fsl-qoriq-c1c1a3d012fe5e82a9a025fb4b5a4f8ee67a53f6.tar.xz
hwmon: (f75375s) Fix register write order when setting fans to full speed
By hwmon sysfs interface convention, setting pwm_enable to zero sets a fan to full speed. In the f75375s driver, this need be done by enabling manual fan control, plus duty mode for the F875387 chip, and then setting the maximum duty cycle. Fix a bug where the two necessary register writes were swapped, effectively discarding the setting to full-speed. Signed-off-by: Nikolaus Schulz <mail@microschulz.de> Cc: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/pmbus/max34440.c')
0 files changed, 0 insertions, 0 deletions