summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-01-25 16:34:05 +1000
committerDave Airlie <airlied@redhat.com>2008-01-25 16:34:05 +1000
commit98361cf28c62530e34758b27aa1eea805269e0e5 (patch)
tree8b3b6cfd000d9bc01f037d2e8697f2f937666729 /linux-core
parentfa7b779c91cbac16ec699efab4ee150412d4ba74 (diff)
if irq already enabled well just keep trucking
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c
index 367d2dd8..c75f20b2 100644
--- a/linux-core/drm_irq.c
+++ b/linux-core/drm_irq.c
@@ -183,7 +183,7 @@ int drm_irq_install(struct drm_device * dev)
if (dev->irq_enabled) {
mutex_unlock(&dev->struct_mutex);
- return -EBUSY;
+ return 0;
}
dev->irq_enabled = 1;
mutex_unlock(&dev->struct_mutex);