platform/x86: intel_cht_int33fe: Correct "displayport" fwnode reference
authorHans de Goede <hdegoede@redhat.com>
Mon, 3 May 2021 15:46:47 +0000 (17:46 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 16 Jun 2021 15:47:49 +0000 (17:47 +0200)
The Type-C connector on these devices is connected to DP-2 not DP-1,
so the reference must be to the DD04 child-node of the GPU, rather
then the DD02 child-node.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210503154647.142551-10-hdegoede@redhat.com
drivers/platform/x86/intel_cht_int33fe_typec.c

index b61bad9..d595441 100644 (file)
@@ -168,8 +168,8 @@ static int cht_int33fe_setup_dp(struct cht_int33fe_data *data)
                return -ENODEV;
        }
 
-       /* Then the DP child device node */
-       data->dp = device_get_named_child_node(&pdev->dev, "DD02");
+       /* Then the DP-2 child device node */
+       data->dp = device_get_named_child_node(&pdev->dev, "DD04");
        pci_dev_put(pdev);
        if (!data->dp)
                return -ENODEV;