]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJiri Kosina <jkosina@suse.cz>
Fri, 13 Dec 2019 09:26:18 +0000 (10:26 +0100)
commit0402e2235aa7b124237f68b352342e00f3b8b570
treecc66981361c6f2874691c619ba31440710a5feba
parent68ae33e179ded6e22321a6b10d7460c41cf3b0e9
HID: asus: Ignore Asus vendor-page usage-code 0xff events

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>
drivers/hid/hid-asus.c