Update patches/asus3.patch
This commit is contained in:
parent
3b8003c1ba
commit
823abd56fd
@ -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 <W_Armin@gmx.de>
|
From: Armin Wolf <W_Armin@gmx.de>
|
||||||
Date: Sun, 24 Nov 2024 18:19:41 +0100
|
Date: Sun, 24 Nov 2024 18:19:41 +0100
|
||||||
Subject: [PATCH] platform/x86: asus-wmi: Ignore return value when writing
|
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
|
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219517
|
||||||
Fixes: 2daa86e78c49 ("platform/x86: asus_wmi: Support throttle thermal policy")
|
Fixes: 2daa86e78c49 ("platform/x86: asus_wmi: Support throttle thermal policy")
|
||||||
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
|
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
|
||||||
|
Signed-off-by: Eric Naim <dnaim@cachyos.org>
|
||||||
---
|
---
|
||||||
drivers/platform/x86/asus-wmi.c | 11 ++---------
|
drivers/platform/x86/asus-wmi.c | 11 ++---------
|
||||||
1 file changed, 2 insertions(+), 9 deletions(-)
|
1 file changed, 2 insertions(+), 9 deletions(-)
|
||||||
|
|
||||||
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
|
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
|
--- a/drivers/platform/x86/asus-wmi.c
|
||||||
+++ b/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)
|
@@ -3696,7 +3696,6 @@ static int asus_wmi_custom_fan_curve_init(struct asus_wmi *asus)
|
||||||
|
/* Throttle thermal policy ****************************************************/
|
||||||
static int fan_boost_mode_write(struct asus_wmi *asus)
|
static int throttle_thermal_policy_write(struct asus_wmi *asus)
|
||||||
{
|
{
|
||||||
- u32 retval;
|
- u32 retval;
|
||||||
u8 value;
|
u8 value;
|
||||||
@ -55,3 +56,5 @@ index 89f5f44857d555..a173f95d6d35b8 100644
|
|||||||
if (asus->cpu_fan_curve_available)
|
if (asus->cpu_fan_curve_available)
|
||||||
asus->custom_fan_curves[FAN_CURVE_DEV_CPU].enabled = false;
|
asus->custom_fan_curves[FAN_CURVE_DEV_CPU].enabled = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user