drm/rcar-du: Handle encoder initialization failures
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 1 Apr 2014 11:03:52 +0000 (13:03 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:12:58 +0000 (11:12 +0100)
commit7b965ec37b5a7338acbd8394623b13e7daccf255
tree1c090b4319532c5a47e8b1b02699d6ee74fe9e13
parent17adedd809b7546ee175c507ed39f6f010fc4cff
drm/rcar-du: Handle encoder initialization failures

The rcar_du_encoder_init() function can fail and return an error code.
Don't ignore it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit d9961b22716ddf59ca307fe862f93ff0ea919952)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/gpu/drm/rcar-du/rcar_du_kms.c