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

Commit 18cbe723 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Tomi Valkeinen
Browse files

drm: omapdrm: venc: Return error code on OF parsing failure



The venc_probe_of() function has an error cleanup path that returns
success instead of an error code. Fix it.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 9dd894d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -857,10 +857,10 @@ static int venc_probe_of(struct platform_device *pdev)
	of_node_put(ep);

	return 0;

err:
	of_node_put(ep);

	return 0;
	return r;
}

/* VENC HW IP initialisation */