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 0ab8687..f13ad0d 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);
        }