]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
authorHans de Goede <hdegoede@redhat.com>
Fri, 11 Nov 2022 11:16:39 +0000 (12:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:23:00 +0000 (11:23 +0100)
commit2d15c3c933cff40aff2b7444e60c735147ee4f32
tree891a75b1c7d358c2da244a660ec20a0c8b8db2ef
parentb9d660b0bdd2794fbccdbe714010969724abaa15
platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)

[ Upstream commit f7504588c0da97baa5a8b7841c1eaf39b5feefc3 ]

Like the Acer Switch 10 (SW5-012) and Acer Switch 10 (S1003) models
the Acer Switch V 10 (SW5-017) supports reporting SW_TABLET_MODE
through acer-wmi.

Add a DMI quirk for the SW5-017 setting force_caps to ACER_CAP_KBD_DOCK
(these devices have no other acer-wmi based functionality).

Cc: Rudolf Polzer <rpolzer@google.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20221111111639.35730-1-hdegoede@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/acer-wmi.c