projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
284b288
)
drm: rcar-du: Print the error value when DRM/KMS init fails
author
Laurent Pinchart
<
[email protected]
>
Wed, 13 May 2015 22:08:34 +0000
(
01:08
+0300)
committer
Laurent Pinchart
<
[email protected]
>
Tue, 16 Jun 2015 11:15:47 +0000
(14:15 +0300)
This helps debugging probe failures.
Signed-off-by: Laurent Pinchart <
[email protected]
>
drivers/gpu/drm/rcar-du/rcar_du_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index da1216a73969ef62f062486734d5946082ee093f..780ca11512ba6cf138c593327186cdd7ab751777 100644
(file)
--- 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;
}