Skip to content
Commit fb55c3ce authored by Xing Tong Wu's avatar Xing Tong Wu Committed by Greg Kroah-Hartman
Browse files

hwmon: (nct6775) Fix fan speed set failure in automatic mode



[ Upstream commit 8b380025 ]

Setting the fan speed is only valid in manual mode; it is not possible
to set the fan's speed in automatic mode.
Return error when attempting to set the fan speed in automatic mode.

Signed-off-by: default avatarXing Tong Wu <xingtong.wu@siemens.com>
Link: https://lore.kernel.org/r/20231121081604.2499-3-xingtong_wu@163.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bf808f58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment