aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_pm.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-10-28 08:10:15 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 04:01:26 -0500
commit19fa224f8a91a73a39b35251ced04b59b2a171b4 (patch)
tree5406b4307402febc674fcfb2f45dcf97a5ca17c0 /drivers/gpu/drm/nouveau/nv50_pm.c
parent0b627a0b23404d97d1720c0c1abaee602aee9518 (diff)
drm/nv50/pm: free state struct after setting clocks
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_pm.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_pm.c b/drivers/gpu/drm/nouveau/nv50_pm.c
index bf9fd95c81c0..53b6c6c75744 100644
--- a/drivers/gpu/drm/nouveau/nv50_pm.c
+++ b/drivers/gpu/drm/nouveau/nv50_pm.c
@@ -619,6 +619,7 @@ error:
619 ret = -EBUSY; 619 ret = -EBUSY;
620resume: 620resume:
621 nv_mask(dev, 0x002504, 0x00000001, 0x00000000); 621 nv_mask(dev, 0x002504, 0x00000001, 0x00000000);
622 kfree(info);
622 return ret; 623 return ret;
623} 624}
624 625