提交 111b459a 编写于 作者: F Francisco Jerez 提交者: Ben Skeggs

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

Signed-off-by: NFrancisco Jerez <currojerez@riseup.net>
上级 0829168b
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册