should be unlocked

main
Alan Hourihane 2007-10-15 11:54:18 +01:00
parent cc9be8ac32
commit 2b07b0a45d
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ int intelfb_remove(struct drm_device *dev, struct drm_crtc *crtc)
unregister_framebuffer(info); unregister_framebuffer(info);
framebuffer_release(info); framebuffer_release(info);
drm_mem_reg_iounmap(dev, &fb->bo->mem, fb->virtual_base); drm_mem_reg_iounmap(dev, &fb->bo->mem, fb->virtual_base);
drm_bo_usage_deref_locked(&fb->bo); drm_bo_usage_deref_unlocked(&fb->bo);
drm_framebuffer_destroy(fb); drm_framebuffer_destroy(fb);
} }
return 0; return 0;