Skip to content
Commit b95579cd authored by Nishanth Menon's avatar Nishanth Menon Committed by Guenter Roeck
Browse files

hwmon: (gpio-fan) Add a shutdown handler to poweroff the fans



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: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 52a95c11
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment