projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21eae4
)
Release symbol on error-handling path of ips_get_i915_syms()
author
minskey guo
<chaohong.guo@linux.intel.com>
Fri, 17 Sep 2010 06:03:15 +0000
(14:03 +0800)
committer
Matthew Garrett
<mjg@redhat.com>
Tue, 5 Oct 2010 18:59:01 +0000
(14:59 -0400)
In ips_get_i915_syms(), the symbol i915_gpu_busy() is not released
when error occurs.
Signed-off-by: minskey guo <chaohong.guo@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_ips.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/intel_ips.c
b/drivers/platform/x86/intel_ips.c
index 3c7b25c3cb80101f29fea43c57f780858088b972..71dcc410f9d02443bde44b12b9ca41384adc166c 100644
(file)
--- a/
drivers/platform/x86/intel_ips.c
+++ b/
drivers/platform/x86/intel_ips.c
@@
-1390,7
+1390,7
@@
static bool ips_get_i915_syms(struct ips_driver *ips)
return true;
out_put_busy:
- symbol_put(i915_gpu_
turbo_disable
);
+ symbol_put(i915_gpu_
busy
);
out_put_lower:
symbol_put(i915_gpu_lower);
out_put_raise: