drm: omapdrm: venc: Return error code on OF parsing failure
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 13 Oct 2017 14:59:04 +0000 (17:59 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 19 Dec 2017 08:32:00 +0000 (10:32 +0200)
commit18cbe723a6236ff1fb98ddd927831ac2a32ef46e
tree5f3bf7dceccd763da3a6630c7c268da5306b2f3c
parent9dd894d5dc5c1c4ddd3853d290d88d910f29582c
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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/venc.c