]> git.itanic.dy.fi Git - linux-stable/commitdiff
platform/surface: aggregator_registry: Add support for Surface Laptop Go 2
authorMaximilian Luz <luzmaximilian@gmail.com>
Wed, 10 Aug 2022 14:01:33 +0000 (16:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2022 10:39:43 +0000 (12:39 +0200)
[ Upstream commit 84b8e403435c8fb94b872309673764a447961e00 ]

The Surface Laptop Go 2 seems to have the same SAM client devices as the
Surface Laptop Go 1, so re-use its node group.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20220810140133.99087-1-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/surface/surface_aggregator_registry.c

index 1679811eff5020ac80a85ed520ac8befac747253..5c0451c56ea83d4550829f24efb5070ed5639b98 100644 (file)
@@ -558,6 +558,9 @@ static const struct acpi_device_id ssam_platform_hub_match[] = {
        /* Surface Laptop Go 1 */
        { "MSHW0118", (unsigned long)ssam_node_group_slg1 },
 
+       /* Surface Laptop Go 2 */
+       { "MSHW0290", (unsigned long)ssam_node_group_slg1 },
+
        /* Surface Laptop Studio */
        { "MSHW0123", (unsigned long)ssam_node_group_sls },