Commit 70a94d6a authored by Dave Airlie's avatar Dave Airlie

drm: fix crtc no modes printf + typo

Toralf Förster pointed out the typo, the fact I forget the if
statement is purely personal fail.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f22d6dda
...@@ -1032,7 +1032,8 @@ bool drm_helper_initial_config(struct drm_device *dev) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment