git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm: fix crtc no modes printf + typo
[safe/jmp/linux-2.6]
/
drivers
/
gpu
/
drm
/
drm_crtc_helper.c
diff --git
a/drivers/gpu/drm/drm_crtc_helper.c
b/drivers/gpu/drm/drm_crtc_helper.c
index
077313f
..
1c47ea2
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.
*/
/*
* 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);
drm_setup_crtcs(dev);