public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] drm/tegra: dpaux: Fix always-failing probing of the driver
@ 2018-09-21 11:42 Dmitry Osipenko
  2018-09-24 11:59 ` Thierry Reding
  0 siblings, 1 reply; 11+ messages in thread
From: Dmitry Osipenko @ 2018-09-21 11:42 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter; +Cc: linux-tegra, dri-devel

Some of definitions in the code changed the meaning, unfortunately one
place missed the change.

Fixes: 0751bb5c44fe ("drm/tegra: dpaux: Add pinctrl support")
Cc: <stable@vger.kernel.org> # v4.8+
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---

I don't have HW to test DPAUX driver, apparently it has been broken for
2+ years now. There is also a known issue on with the DPAUX driver that
prevents it from probing, that was discussed on the #tegra IRC. Thierry,
please take a closer look at this driver and test it thoroughly, it has
some obvious problems.

 drivers/gpu/drm/tegra/dpaux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c
index d84e81ff36ad..ba5681fab73b 100644
--- a/drivers/gpu/drm/tegra/dpaux.c
+++ b/drivers/gpu/drm/tegra/dpaux.c
@@ -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;
 
-- 
2.19.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-09-24 19:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-21 11:42 [PATCH v1] drm/tegra: dpaux: Fix always-failing probing of the driver Dmitry Osipenko
2018-09-24 11:59 ` Thierry Reding
2018-09-24 12:32   ` Jon Hunter
2018-09-24 12:40     ` Dmitry Osipenko
2018-09-24 13:36       ` Thierry Reding
2018-09-24 13:56         ` Dmitry Osipenko
2018-09-24 14:15           ` Thierry Reding
2018-09-24 14:04         ` Thierry Reding
2018-09-24 19:15           ` Dmitry Osipenko
2018-09-24 13:30     ` Thierry Reding
2018-09-24 12:34   ` Dmitry Osipenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox