drm/tegra: dpaux: Use the correct definition for pad modes
authorDmitry Osipenko <digetx@gmail.com>
Fri, 21 Sep 2018 11:42:41 +0000 (14:42 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 24 Sep 2018 13:28:42 +0000 (15:28 +0200)
Some of definitions in the code changed the meaning, unfortunately one
place missed the change.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dpaux.c

index d84e81f..ba5681f 100644 (file)
@@ -521,7 +521,7 @@ static int tegra_dpaux_probe(struct platform_device *pdev)
         * is no possibility to perform the I2C mode configuration in the
         * HDMI path.
         */
-       err = tegra_dpaux_pad_config(dpaux, DPAUX_HYBRID_PADCTL_MODE_I2C);
+       err = tegra_dpaux_pad_config(dpaux, DPAUX_PADCTL_FUNC_I2C);
        if (err < 0)
                return err;