diff options
author | Dave Airlie <airlied@redhat.com> | 2008-01-25 16:34:05 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-01-25 16:34:05 +1000 |
commit | 98361cf28c62530e34758b27aa1eea805269e0e5 (patch) | |
tree | 8b3b6cfd000d9bc01f037d2e8697f2f937666729 /linux-core | |
parent | fa7b779c91cbac16ec699efab4ee150412d4ba74 (diff) |
if irq already enabled well just keep trucking
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_irq.c | 2 |
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); |