Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fd95602 authored by Sathya Prakash M R's avatar Sathya Prakash M R Committed by Tomi Valkeinen
Browse files

OMAPDSS: Return right error during connector probe



While using HDMI connector driver with sil9022 encoder
came across issue where connector driver is probed first.
This resulted in error. A deffered probe solved this.
Most connector drivers need a encoder driver as their
video source. This patch ensures we do a probe defferal
if video source is not present for connector drivers.

Signed-off-by: default avatarSathya Prakash M R <sathyap@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 272b98c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ static int tvc_probe_pdata(struct platform_device *pdev)
	in = omap_dss_find_output(pdata->source);
	if (in == NULL) {
		dev_err(&pdev->dev, "Failed to find video source\n");
		return -ENODEV;
		return -EPROBE_DEFER;
	}

	ddata->in = in;
+1 −1
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ static int dvic_probe_pdata(struct platform_device *pdev)
	in = omap_dss_find_output(pdata->source);
	if (in == NULL) {
		dev_err(&pdev->dev, "Failed to find video source\n");
		return -ENODEV;
		return -EPROBE_DEFER;
	}

	ddata->in = in;
+1 −1
Original line number Diff line number Diff line
@@ -290,7 +290,7 @@ static int hdmic_probe_pdata(struct platform_device *pdev)
	in = omap_dss_find_output(pdata->source);
	if (in == NULL) {
		dev_err(&pdev->dev, "Failed to find video source\n");
		return -ENODEV;
		return -EPROBE_DEFER;
	}

	ddata->in = in;