tree 9003290ac74732297b0866f89d691f732430c107
parent c101f3136cc98a003d0d16be6fab7d0d950581a6
author Dave Airlie <[EMAIL PROTECTED](none)> Thu, 07 Jul 2005 20:16:08 +1000
committer Dave Airlie <[EMAIL PROTECTED]> Thu, 07 Jul 2005 20:16:08 +1000

drm: fix minor issues caused by core conversion

The conversion to core/driver got this check in-correct.

Signed-off-by: Dave Airlie <[EMAIL PROTECTED]>

 drivers/char/drm/drm_fops.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/drm/drm_fops.c b/drivers/char/drm/drm_fops.c
--- a/drivers/char/drm/drm_fops.c
+++ b/drivers/char/drm/drm_fops.c
@@ -251,7 +251,7 @@ int drm_release( struct inode *inode, st
                }
        }
        
-       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);
        }
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to