summaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2023-03-04 20:46:11 +0100
committerHans de Goede <hdegoede@redhat.com>2023-03-16 14:43:34 +0100
commit39e2ba648a6ee4519a5f0aa4cb995f8c97c5db6f (patch)
tree1ebf32ab38a2d00506b16733edd3685c7c281f15 /drivers/platform/surface
parent37ff64cd81ff0abbe901fd4cf401998d534c1cd7 (diff)
downloadlinux-stable-39e2ba648a6ee4519a5f0aa4cb995f8c97c5db6f.tar.gz
linux-stable-39e2ba648a6ee4519a5f0aa4cb995f8c97c5db6f.tar.bz2
linux-stable-39e2ba648a6ee4519a5f0aa4cb995f8c97c5db6f.zip
platform/surface: aggregator_registry: Add support for tablet-mode switch on Surface Pro 9
Add support for the POS-subsystem tablet-mode switch used on the Surface Pro 9. Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com> Link: https://lore.kernel.org/r/20230304194611.87770-4-luzmaximilian@gmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface')
-rw-r--r--drivers/platform/surface/surface_aggregator_registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
index 296f72d52e6a..0fe5be539652 100644
--- a/drivers/platform/surface/surface_aggregator_registry.c
+++ b/drivers/platform/surface/surface_aggregator_registry.c
@@ -305,7 +305,7 @@ static const struct software_node *ssam_node_group_sp9[] = {
&ssam_node_bat_ac,
&ssam_node_bat_main,
&ssam_node_tmp_pprof,
- /* TODO: Tablet mode switch (via POS subsystem) */
+ &ssam_node_pos_tablet_switch,
&ssam_node_hid_kip_keyboard,
&ssam_node_hid_kip_penstash,
&ssam_node_hid_kip_touchpad,