git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af8be6
)
platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
author
Hans de Goede
<hdegoede@redhat.com>
Mon, 23 Nov 2020 15:16:25 +0000
(16:16 +0100)
committer
Hans de Goede
<hdegoede@redhat.com>
Tue, 24 Nov 2020 12:08:03 +0000
(13:08 +0100)
Add the Acer Aspire Switch 10E SW3-016 to the list of models which use the
Acer Switch WMI interface for reporting SW_TABLET_MODE.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link:
https://lore.kernel.org/r/20201123151625.5530-1-hdegoede@redhat.com
drivers/platform/x86/acer-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/acer-wmi.c
b/drivers/platform/x86/acer-wmi.c
index f888f5a6e250699c58733ebf12df6277d5db7697..c1a5357da8857363d3e43950b3e6ae3ca4c95d9c 100644
(file)
--- a/
drivers/platform/x86/acer-wmi.c
+++ b/
drivers/platform/x86/acer-wmi.c
@@
-508,6
+508,15
@@
static const struct dmi_system_id acer_quirks[] __initconst = {
},
.driver_data = &quirk_acer_travelmate_2490,
},
+ {
+ .callback = set_force_caps,
+ .ident = "Acer Aspire Switch 10E SW3-016",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Aspire SW3-016"),
+ },
+ .driver_data = (void *)ACER_CAP_KBD_DOCK,
+ },
{
.callback = set_force_caps,
.ident = "Acer Aspire Switch 10 SW5-012",