]> git.baikalelectronics.ru Git - 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)
commit93538d0c9efed37f03f4b9ad615127753f3c2c54
tree902700f1a8112c788e827d80f819bc08ad2a8b5a
parentc120d66cf994dfe5ec1f4550b983e59df0d861f8
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