platform/x86: dell-wmi: Ignore suspend notifications

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 <W_Armin@gmx.de>
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20241014220529.397390-1-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by Armin Wolf and committed by Hans de Goede a7990957 48771da4

Changed files
+9
drivers
platform
x86
+9
drivers/platform/x86/dell/dell-wmi-base.c
··· 264 264 /*Speaker Mute*/ 265 265 { KE_KEY, 0x109, { KEY_MUTE} }, 266 266 267 + /* S2Idle screen off */ 268 + { KE_IGNORE, 0x120, { KEY_RESERVED }}, 269 + 270 + /* Leaving S4 or S2Idle suspend */ 271 + { KE_IGNORE, 0x130, { KEY_RESERVED }}, 272 + 273 + /* Entering S2Idle suspend */ 274 + { KE_IGNORE, 0x140, { KEY_RESERVED }}, 275 + 267 276 /* Mic mute */ 268 277 { KE_KEY, 0x150, { KEY_MICMUTE } }, 269 278