summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rcar-du
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-05-14 00:08:34 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-06-16 13:15:47 +0200
commit6e0c6e1895b9fff3cdb6ef746ee3d8dd4e852f40 (patch)
treed773c91afb616c436b8b864c20f01cd8397da2b6 /drivers/gpu/drm/rcar-du
parentMerge tag 'omapdrm-4.2-atomic' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-6e0c6e1895b9fff3cdb6ef746ee3d8dd4e852f40.tar.xz
linux-6e0c6e1895b9fff3cdb6ef746ee3d8dd4e852f40.zip
drm: rcar-du: Print the error value when DRM/KMS init fails
This helps debugging probe failures. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index da1216a73969..780ca11512ba 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -190,7 +190,7 @@ static int rcar_du_load(struct drm_device *dev, unsigned long flags)
/* DRM/KMS objects */
ret = rcar_du_modeset_init(rcdu);
if (ret < 0) {
- dev_err(&pdev->dev, "failed to initialize DRM/KMS\n");
+ dev_err(&pdev->dev, "failed to initialize DRM/KMS (%d)\n", ret);
goto done;
}