]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
HID: google: whiskers: signal tablet mode on connect
authorDmitry Torokhov <dtor@chromium.org>
Fri, 13 Sep 2019 22:03:17 +0000 (15:03 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 1 Oct 2019 14:13:49 +0000 (16:13 +0200)
commitb543db46b47dc075535a5adf93460b611d669598
tree823ed3ca748ce0d8a8c602a4d726682ce10db36e
parent79085c7dd24b7acd546f5b283d3f2319a9edbbd8
HID: google: whiskers: signal tablet mode on connect

When we receive "keyboard position" event from Whiskers we can
conclude that the base is attached, even if we did not get EC event
for that. We may miss EC event because there are some units which
have a lot of leakage on the ADC pins that the EC uses to determine
whether or not a base is attached.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-google-hammer.c