projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f7e41
)
drm/nouveau: Don't skip card take down on nv0x.
author
Francisco Jerez
<currojerez@riseup.net>
Tue, 22 Dec 2009 17:24:09 +0000
(18:24 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 11 Jan 2010 04:41:09 +0000
(14:41 +1000)
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
drivers/gpu/drm/nouveau/nouveau_state.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_state.c
b/drivers/gpu/drm/nouveau/nouveau_state.c
index
6a45913
..
a6b573e
100644
(file)
--- 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)
{
struct drm_nouveau_private *dev_priv = dev->dev_private;
- /* In the case of an error dev_priv may not be
be
allocated yet */
- if (dev_priv
&& dev_priv->card_type
)
+ /* In the case of an error dev_priv may not be allocated yet */
+ if (dev_priv)
nouveau_card_takedown(dev);
}