]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: hp-wmi: Ignore Sanitization Mode event
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 28 Jun 2022 12:37:26 +0000 (20:37 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 28 Jun 2022 20:20:07 +0000 (22:20 +0200)
commite686dd3332b13edc373c43b17067b6b15091c5cf
treeefb06ca40b5a1aed5c4b6225aad4046ebd73add9
parent7493721b9a785fcd3ed7286c65a53ebc709bfb7d
platform/x86: hp-wmi: Ignore Sanitization Mode event

After system resume the hp-wmi driver may complain:
[ 702.620180] hp_wmi: Unknown event_id - 23 - 0x0

According to HP it means 'Sanitization Mode' and it's harmless to just
ignore the event.

Cc: Jorge Lopez <jorge.lopez2@hp.com>
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20220628123726.250062-1-kai.heng.feng@canonical.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/hp-wmi.c