projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78bb351
)
drm/nv50: cleanup properly if PDISPLAY init fails
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 25 Mar 2010 06:01:04 +0000
(16:01 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 9 Apr 2010 00:15:17 +0000
(10:15 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv50_display.c
b/drivers/gpu/drm/nouveau/nv50_display.c
index bd99986a1146ea573e0c856bf839a6aae8b87f41..fd00f4000f14fc20335954fd7a59cbc7cb0e1f09 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_display.c
+++ b/
drivers/gpu/drm/nouveau/nv50_display.c
@@
-529,8
+529,10
@@
int nv50_display_create(struct drm_device *dev)
}
ret = nv50_display_init(dev);
- if (ret)
+ if (ret) {
+ nv50_display_destroy(dev);
return ret;
+ }
return 0;
}