Commit 8f71c29e authored by Francisco Jerez's avatar Francisco Jerez Committed by Dave Airlie

drm/nouveau: Don't skip card take down on nv0x.

Signed-off-by: default avatarFrancisco Jerez <currojerez@riseup.net>
parent b7f7e41b
...@@ -722,8 +722,8 @@ static void nouveau_close(struct drm_device *dev) ...@@ -722,8 +722,8 @@ static void nouveau_close(struct drm_device *dev)
{ {
struct drm_nouveau_private *dev_priv = dev->dev_private; struct drm_nouveau_private *dev_priv = dev->dev_private;
/* In the case of an error dev_priv may not be be allocated yet */ /* In the case of an error dev_priv may not be allocated yet */
if (dev_priv && dev_priv->card_type) if (dev_priv)
nouveau_card_takedown(dev); nouveau_card_takedown(dev);
} }
......
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