HID: lenovo: Fix spurious F23 key press report during resume from suspend
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Jul 2020 20:10:59 +0000 (22:10 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 7 Jul 2020 10:42:27 +0000 (12:42 +0200)
commit49429428381b1f52c0b17abbbb4e4e8617fca96e
tree7423481a70f7fa8448bd7d73c067661f6868a7aa
parentc87de33ed43a89ae8f32ccd40bd0b540244012d6
HID: lenovo: Fix spurious F23 key press report during resume from suspend

The Ultrabook Keyboard sends a spurious F23 key-press when resuming
from suspend. GNOME uses F23 to toggle the touchpad on/off so this causes
the OSD graphics for the touchpad toggle to show on resume.

The keyboard does not actually have a F23 key, se we can simple fix it
by marking the 0x00070072 HID usage, which normally is F23, to be ignored.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo.c