From: Greg Kroah-Hartman Date: Mon, 28 Oct 2024 01:38:46 +0000 (+0100) Subject: 6.6-stable patches X-Git-Tag: v5.15.170~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=25ca79cd5693d4fda13e9c933f87273ad1a87882;p=thirdparty%2Fkernel%2Fstable-queue.git 6.6-stable patches added patches: platform-x86-dell-wmi-ignore-suspend-notifications.patch --- diff --git a/queue-6.6/platform-x86-dell-wmi-ignore-suspend-notifications.patch b/queue-6.6/platform-x86-dell-wmi-ignore-suspend-notifications.patch new file mode 100644 index 00000000000..a6675ca7bd5 --- /dev/null +++ b/queue-6.6/platform-x86-dell-wmi-ignore-suspend-notifications.patch @@ -0,0 +1,44 @@ +From a7990957fa53326fe9b47f0349373ed99bb69aaa Mon Sep 17 00:00:00 2001 +From: Armin Wolf +Date: Tue, 15 Oct 2024 00:05:29 +0200 +Subject: platform/x86: dell-wmi: Ignore suspend notifications +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +From: Armin Wolf + +commit a7990957fa53326fe9b47f0349373ed99bb69aaa upstream. + +Some machines like the Dell G15 5155 emit WMI events when +suspending/resuming. Ignore those WMI events. + +Tested-by: siddharth.manthan@gmail.com +Signed-off-by: Armin Wolf +Acked-by: Pali Rohár +Link: https://lore.kernel.org/r/20241014220529.397390-1-W_Armin@gmx.de +Reviewed-by: Hans de Goede +Signed-off-by: Hans de Goede +Signed-off-by: Greg Kroah-Hartman +--- + drivers/platform/x86/dell/dell-wmi-base.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +--- a/drivers/platform/x86/dell/dell-wmi-base.c ++++ b/drivers/platform/x86/dell/dell-wmi-base.c +@@ -264,6 +264,15 @@ static const struct key_entry dell_wmi_k + /*Speaker Mute*/ + { KE_KEY, 0x109, { KEY_MUTE} }, + ++ /* S2Idle screen off */ ++ { KE_IGNORE, 0x120, { KEY_RESERVED }}, ++ ++ /* Leaving S4 or S2Idle suspend */ ++ { KE_IGNORE, 0x130, { KEY_RESERVED }}, ++ ++ /* Entering S2Idle suspend */ ++ { KE_IGNORE, 0x140, { KEY_RESERVED }}, ++ + /* Mic mute */ + { KE_KEY, 0x150, { KEY_MICMUTE } }, + diff --git a/queue-6.6/series b/queue-6.6/series index ccb6ee673db..6c79e59afb5 100644 --- a/queue-6.6/series +++ b/queue-6.6/series @@ -199,3 +199,4 @@ net-phy-dp83822-fix-reset-pin-definitions.patch block-fix-sanity-checks-in-blk_rq_map_user_bvec.patch ata-libata-set-did_time_out-for-commands-that-actually-timed-out.patch asoc-qcom-fix-null-dereference-in-asoc_qcom_lpass_cpu_platform_probe.patch +platform-x86-dell-wmi-ignore-suspend-notifications.patch