From: Ben Skeggs Date: Mon, 26 Jul 2010 01:35:37 +0000 (+1000) Subject: drm/nv50: fix some not-error error messages X-Git-Tag: firefly_0821_release~9833^2~636^2~78^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0ccb3a75fe81ec3c4ceb7344c34d0497cbabb369;p=firefly-linux-kernel-4.4.55.git drm/nv50: fix some not-error error messages Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 0ab868722114..f13ad0de9c8f 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -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); }