HID: asus: Ignore Asus vendor-page usage-code 0xff events
authorHans de Goede <hdegoede@redhat.com>
Thu, 24 Oct 2019 11:59:09 +0000 (13:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Feb 2020 09:34:41 +0000 (09:34 +0000)
commit854f39866e2f1b64eea74b01ebca276ff68b9269
treeeb8f59cf4d11fe5e6ea6f2d24fa44451e0d2caac
parent49de93b4018b20bb5020d3a2b8d483ca28fc8a05
HID: asus: Ignore Asus vendor-page usage-code 0xff events

[ Upstream commit c07a0254c89e4bb69ca781cd488baa5b628e2754 ]

At least on a T100HA an Asus vendor-page usage-code 0xff event is send on
every suspend and again on resume, resulting in the following warning:

asus 0003:0B05:1807.0002: Unmapped Asus vendor usagepage code 0xff

being logged twice on every suspend/resume.

This commit silences the "Unmapped Asus vendor usagepage code ..."
warning for usage-code 0xff to avoid these warnings being logged.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-asus.c