drm/tegra: sor: Use correct I/O pad for DP
authorThierry Reding <treding@nvidia.com>
Wed, 24 Jul 2019 15:10:31 +0000 (17:10 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:56 +0000 (11:18 +0100)
The correct I/O pad needs to be powered up before DP can be used. Make
sure the correct default is set for Tegra generations where the I/O pad
cannot be derived from the SOR instance.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c

index a245bbbd638aec6926b9b1f6fd0ab66245425a54..bf2e31199166ebd63ffa886d7f03aadb79476dc6 100644 (file)
@@ -3934,6 +3934,7 @@ static int tegra_sor_probe(struct platform_device *pdev)
                        sor->pad = TEGRA_IO_PAD_LVDS;
                } else if (sor->soc->supports_dp) {
                        sor->ops = &tegra_sor_dp_ops;
+                       sor->pad = TEGRA_IO_PAD_LVDS;
                } else {
                        dev_err(&pdev->dev, "unknown (DP) support\n");
                        return -ENODEV;