drm/nv50: fix some not-error error messages
authorBen Skeggs <bskeggs@redhat.com>
Mon, 26 Jul 2010 01:35:37 +0000 (11:35 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 26 Jul 2010 01:44:02 +0000 (11:44 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c

index 0ab868722114cc090ba1848dda9a6947f0836612..f13ad0de9c8ff8a4b1d55e0d4329c7e6b1c9e997 100644 (file)
@@ -380,6 +380,9 @@ nv50_display_init(struct drm_device *dev)
        list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
                struct nouveau_connector *conn = nouveau_connector(connector);
 
+               if (conn->dcb->gpio_tag == 0xff)
+                       continue;
+
                pgpio->irq_enable(dev, conn->dcb->gpio_tag, true);
        }