drm: fix minor issues caused by core conversion
The conversion to core/driver got this check in-correct. Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
Родитель
c101f3136c
Коммит
0c7b525c34
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче