diff options
author | Francisco Jerez <currojerez@riseup.net> | 2009-12-22 12:24:09 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-01-10 18:06:35 -0500 |
commit | 111b459af191891f49682f21e11f348703cd8bdd (patch) | |
tree | 2f3b8a9ffdc06c6f3fe91aa878bc8fc38068a8d9 /drivers/gpu/drm/nouveau/nouveau_state.c | |
parent | 0829168b474663d8b13f6105368dbbf4a1a03256 (diff) |
drm/nouveau: Don't skip card take down on nv0x.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 6a459139910f..a6b573e89829 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c | |||
@@ -722,8 +722,8 @@ static void nouveau_close(struct drm_device *dev) | |||
722 | { | 722 | { |
723 | struct drm_nouveau_private *dev_priv = dev->dev_private; | 723 | struct drm_nouveau_private *dev_priv = dev->dev_private; |
724 | 724 | ||
725 | /* In the case of an error dev_priv may not be be allocated yet */ | 725 | /* In the case of an error dev_priv may not be allocated yet */ |
726 | if (dev_priv && dev_priv->card_type) | 726 | if (dev_priv) |
727 | nouveau_card_takedown(dev); | 727 | nouveau_card_takedown(dev); |
728 | } | 728 | } |
729 | 729 | ||