]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: asus-wmi: Fix thermal profile initialization
authorArmin Wolf <W_Armin@gmx.de>
Fri, 25 Oct 2024 19:15:13 +0000 (21:15 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 26 Oct 2024 11:03:10 +0000 (13:03 +0200)
commitb012170fed282151f7ba8988a347670c299f5ab3
treedb855fa6da7bbf01a23c464a4b0b4e0c9c856ed3
parenta7990957fa53326fe9b47f0349373ed99bb69aaa
platform/x86: asus-wmi: Fix thermal profile initialization

When support for vivobook fan profiles was added, the initial
call to throttle_thermal_policy_set_default() was removed, which
however is necessary for full initialization.

Fix this by calling throttle_thermal_policy_set_default() again
when setting up the platform profile.

Fixes: bcbfcebda2cb ("platform/x86: asus-wmi: add support for vivobook fan profiles")
Reported-by: Michael Larabel <Michael@phoronix.com>
Closes: https://www.phoronix.com/review/lunar-lake-xe2/5
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20241025191514.15032-2-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-wmi.c