]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 18:42:46 +0000 (20:42 +0200)
commit781852564ed8d322940879d12dbb5ea2d60ea7df
treeb13d8c884890a22cbe6f9535711a72a822b64c29
parent37c16fc2cb13a13f3c0193bfc6f2edef7d7df7d7
platform/x86: hp-wmi: Ignore Sanitization Mode event

[ Upstream commit 9ab762a84b8094540c18a170e5ddd6488632c456 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/hp-wmi.c