drm/nouveau: Fix lock unbalance on card take down.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Francisco Jerez 2010-10-18 03:01:34 +02:00 committed by Ben Skeggs
parent feeb0aecfb
commit 36c952e8b3

View file

@ -714,7 +714,7 @@ static void nouveau_card_takedown(struct drm_device *dev)
if (!engine->graph.accel_blocked) {
nouveau_fence_fini(dev);
nouveau_channel_put(&dev_priv->channel);
nouveau_channel_put_unlocked(&dev_priv->channel);
}
if (!nouveau_noaccel) {