platform/x86: intel-hid: Add alternative method to enable switches
authorElia Devito <eliadevito@gmail.com>
Fri, 4 Dec 2020 16:02:35 +0000 (17:02 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Dec 2020 16:40:40 +0000 (17:40 +0100)
commitac32bae0008340d87328a74d7598333bf48348c7
tree980aa64bea7ebedabce8e743a2a8f37f946b3f17
parent537b0dd4729e7f5c5b3e8321954d3b8a2d0dd7a8
platform/x86: intel-hid: Add alternative method to enable switches

Some convertible have unreliable VGBS return, in these cases we enable
support when receiving the first event.

Signed-off-by: Elia Devito <eliadevito@gmail.com>
Link: https://lore.kernel.org/r/20201204160234.36832-1-elia@xvalue.it
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel-hid.c