Commit 0c7b525c authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie

drm: fix minor issues caused by core conversion

The conversion to core/driver got this check in-correct.
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent c101f313
...@@ -251,7 +251,7 @@ int drm_release( struct inode *inode, struct file *filp ) ...@@ -251,7 +251,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); dev->driver->reclaim_buffers(dev, filp);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment