diff --git a/patches/asus3.patch b/patches/asus3.patch index f851b73..bcbbaee 100644 --- a/patches/asus3.patch +++ b/patches/asus3.patch @@ -1,4 +1,4 @@ -From 4d538d888ff723832da4b9bb48b17eebc3b7765c Mon Sep 17 00:00:00 2001 +From a4ddda3952942c4e3df9099065004dc7f0077fee Mon Sep 17 00:00:00 2001 From: Armin Wolf Date: Sun, 24 Nov 2024 18:19:41 +0100 Subject: [PATCH] platform/x86: asus-wmi: Ignore return value when writing @@ -14,17 +14,18 @@ Reported-by: auslands-kv@gmx.de Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219517 Fixes: 2daa86e78c49 ("platform/x86: asus_wmi: Support throttle thermal policy") Signed-off-by: Armin Wolf +Signed-off-by: Eric Naim --- drivers/platform/x86/asus-wmi.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c -index 89f5f44857d555..a173f95d6d35b8 100644 +index 89f5f44857d555..1101e5b2488e52 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c -@@ -3106,7 +3106,6 @@ static int fan_boost_mode_check_present(struct asus_wmi *asus) - - static int fan_boost_mode_write(struct asus_wmi *asus) +@@ -3696,7 +3696,6 @@ static int asus_wmi_custom_fan_curve_init(struct asus_wmi *asus) + /* Throttle thermal policy ****************************************************/ + static int throttle_thermal_policy_write(struct asus_wmi *asus) { - u32 retval; u8 value; @@ -55,3 +56,5 @@ index 89f5f44857d555..a173f95d6d35b8 100644 if (asus->cpu_fan_curve_available) asus->custom_fan_curves[FAN_CURVE_DEV_CPU].enabled = false; + +