hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255
authorKun Yi <kunyi@google.com>
Mon, 8 Oct 2018 21:49:25 +0000 (14:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:21:01 +0000 (08:21 +0100)
commita119952d4be6ed23c9951e1abbf32e3652ca4add
tree4ebd6653f48b759cc4bb28894c2243017f128ba7
parent4bbc8deedd89665e9c31290a9e74337a917c6006
hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255

[ Upstream commit f21c8e753b1dcb8f9e5b096db1f7f4e6fdfa7258 ]

Change initial PWM target to 255 to prevent overheating, for example
when BMC hangs in userspace or when userspace fan control application is
not implemented yet.

Signed-off-by: Kun Yi <kunyi@google.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwmon/npcm750-pwm-fan.c