git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a95c1
)
hwmon: (gpio-fan) Add a shutdown handler to poweroff the fans
author
Nishanth Menon
<nm@ti.com>
Thu, 4 Dec 2014 16:58:56 +0000
(10:58 -0600)
committer
Guenter Roeck
<linux@roeck-us.net>
Thu, 4 Dec 2014 19:04:14 +0000
(11:04 -0800)
Poweroff the fans when shutting down the system. Else,
echo '1' > /sys/class/hwmon/hwmon0/fan1_target; poweroff leaves the
fan running if the System power off does not drive the gpio expander
which might control the fan power supply.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/gpio-fan.c
patch
|
blob
|
history
diff --cc
drivers/hwmon/gpio-fan.c
Simple merge