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

Commit 55f6fca3 authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Dave Airlie
Browse files

drm/omap: fix panel/encoder probes



The recent changes which removed platform data support from panels &
encoders had a few mistakes, causing probes of DVI connector and DSI
command mode panels to fail every time due to missing '!'. Fix the
if()s.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 211afd57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ static int dvic_probe(struct platform_device *pdev)

	platform_set_drvdata(pdev, ddata);

	if (pdev->dev.of_node)
	if (!pdev->dev.of_node)
		return -ENODEV;

	r = dvic_probe_of(pdev);
+1 −1
Original line number Diff line number Diff line
@@ -1180,7 +1180,7 @@ static int dsicm_probe(struct platform_device *pdev)
	platform_set_drvdata(pdev, ddata);
	ddata->pdev = pdev;

	if (pdev->dev.of_node)
	if (!pdev->dev.of_node)
		return -ENODEV;

	r = dsicm_probe_of(pdev);