platform/surface: aggregator_registry: Add support for tablet-mode switch on Surface...
authorMaximilian Luz <luzmaximilian@gmail.com>
Sat, 4 Mar 2023 19:46:11 +0000 (20:46 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 16 Mar 2023 13:43:34 +0000 (14:43 +0100)
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>
drivers/platform/surface/surface_aggregator_registry.c

index 296f72d52e6a6c712e02cf5f2cc6a0b6e543001b..0fe5be53965252223e94b12db4ed96e03b2eb6d2 100644 (file)
@@ -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,