From: Greg Kroah-Hartman Date: Mon, 28 Oct 2024 01:37:32 +0000 (+0100) Subject: 5.15-stable patches X-Git-Tag: v5.15.170~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=936564d0e9163ba4673e5088b264c7bd9d6b41d1;p=thirdparty%2Fkernel%2Fstable-queue.git 5.15-stable patches added patches: platform-x86-dell-wmi-ignore-suspend-notifications.patch --- diff --git a/queue-5.15/platform-x86-dell-wmi-ignore-suspend-notifications.patch b/queue-5.15/platform-x86-dell-wmi-ignore-suspend-notifications.patch new file mode 100644 index 00000000000..b42d5a45cc9 --- /dev/null +++ b/queue-5.15/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 +@@ -263,6 +263,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-5.15/series b/queue-5.15/series index 544c10317b0..94b5f620035 100644 --- a/queue-5.15/series +++ b/queue-5.15/series @@ -43,6 +43,7 @@ asoc-codecs-lpass-rx-macro-add-missing-cdc_rx_bcl_vb.patch asoc-fsl_sai-enable-fifo-continue-on-error-fcont-bit.patch arm64-force-position-independent-veneers.patch udf-fix-uninit-value-use-in-udf_get_fileshortad.patch +platform-x86-dell-wmi-ignore-suspend-notifications.patch asoc-qcom-sm8250-add-qrb4210-rb2-sndcard-compatible-.patch platform-x86-dell-sysman-add-support-for-alienware-p.patch jfs-fix-sanity-check-in-dbmount.patch