]> 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 15:18:19 +0000 (17:18 +0200)
commit7f45621c14a209b986cd636447bb53b7f6f881c3
tree902700f1a8112c788e827d80f819bc08ad2a8b5a
parent9d7b132e62e41b7d49bf157aeaf9147c27492e0f
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