summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2021-01-15 06:42:16 +0100
committerJiri Kosina <jkosina@suse.cz>2021-02-02 11:30:23 +0100
commitdf7b622906f24be954beca94e60c195fde65c6d5 (patch)
treeec631cbde3f2d1d1ff29f8f0e71a673cdc0319ef /.gitattributes
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid... (diff)
downloadlinux-df7b622906f24be954beca94e60c195fde65c6d5.tar.xz
linux-df7b622906f24be954beca94e60c195fde65c6d5.zip
HID: google: Get HID report on probe to confirm tablet switch state
This forces reading the base folded state anytime the device is probed, to make sure it's in sync. This is useful after a reboot, if the device re-enumerates for any reason (e.g. ESD shock), or if the driver is unbound/rebound (debugging/testing). Without this, the tablet switch state is only synchronized after a key is pressed (since the device would then send a report that includes the switch state), leading to strange UX (e.g. UI mode changes when a key is pressed after reboot). This is not a problem on detachable base attach, as the device, by itself, sends a report after it is booted up. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions