drm: rcar-du: Clarify error message when encoder initialization fails
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 26 May 2015 11:59:42 +0000 (14:59 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 16 Jun 2015 11:25:52 +0000 (14:25 +0300)
commit64549cdf85a113270729aa123aa475cec7249a0f
tree9950b0ac98acf3253ff766c7eeac19bd3ec153a6
parentd6aed57481c5b746f91792c8a977f537c09e52c5
drm: rcar-du: Clarify error message when encoder initialization fails

A failure to initialize an encoder currently prints an error message in
the kernel log without mentioning which encoder failed to initialize. To
help debugging initialization issues print the encoder DT node name.

This requires moving the error message to the rcar_du_encoders_init_one
function and refactoring it slightly.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_kms.c