]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
platform/x86: asus-nb-wmi: Allow configuring SW_TABLET_MODE method with a module...
authorHans de Goede <hdegoede@redhat.com>
Thu, 12 Aug 2021 14:55:12 +0000 (16:55 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 12 Aug 2021 14:56:41 +0000 (16:56 +0200)
commit6be70ccdd989e40af151ce52db5b2d93e97fc9fb
tree197eb27404f4c4529630fc9d6616661c1f239dd8
parent636a1e697555e73c28cdd6952a409edbfdd16475
platform/x86: asus-nb-wmi: Allow configuring SW_TABLET_MODE method with a module option

Unfortunately we have been unable to find a reliable way to detect if
and how SW_TABLET_MODE reporting is supported, so we are relying on
DMI quirks for this.

Add a module-option to specify the SW_TABLET_MODE method so that this can
be easily tested without needing to rebuild the kernel.

BugLink: https://gitlab.freedesktop.org/libinput/libinput/-/issues/639
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210812145513.39117-1-hdegoede@redhat.com
drivers/platform/x86/asus-nb-wmi.c