summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-06-29 02:57:18 +0000
committerDave Airlie <airlied@linux.ie>2005-06-29 02:57:18 +0000
commit2ce5ddec833195bc17c8ed062ce622460ffe0d6a (patch)
tree516a6cdc78b0c95af9eed957add0b4742a644335 /linux-core
parentc798a382f1e11a0fd60a78924db0663f8e988a1b (diff)
Bug in conversion from old DRM to core DRM....
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index 20cbf343..fd1704b8 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -394,7 +394,7 @@ int drm_release(struct inode *inode, struct file *filp)
}
}
- if (drm_core_check_feature(dev, DRIVER_HAVE_DMA)) {
+ if (drm_core_check_feature(dev, DRIVER_HAVE_DMA) && !dev->driver->release) {
dev->driver->reclaim_buffers(dev, filp);
}