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:
f22d6dd
)
drm: fix crtc no modes printf + typo
author
Dave Airlie
<airlied@redhat.com>
Wed, 13 Jan 2010 06:15:11 +0000
(16:15 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 13 Jan 2010 06:15:11 +0000
(16:15 +1000)
Toralf Förster pointed out the typo, the fact I forget the if
statement is purely personal fail.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_crtc_helper.c
b/drivers/gpu/drm/drm_crtc_helper.c
index 077313f0d47fa0e4e201841230432efae304deb0..1c47ea25337c64bcb5c6de095992b56cd068c5ef 100644
(file)
--- a/
drivers/gpu/drm/drm_crtc_helper.c
+++ b/
drivers/gpu/drm/drm_crtc_helper.c
@@
-1032,7
+1032,8
@@
bool drm_helper_initial_config(struct drm_device *dev)
/*
* we shouldn't end up with no modes here.
*/
- printk(KERN_INFO "No connectors reported conncted with modes\n");
+ if (count == 0)
+ printk(KERN_INFO "No connectors reported connected with modes\n");
drm_setup_crtcs(dev);