diff options
author | minskey guo <chaohong.guo@linux.intel.com> | 2010-09-17 08:03:15 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-10-05 20:59:01 +0200 |
commit | fed522f7ea780d195d5d3e55df95fee520136e17 (patch) | |
tree | a694e5894fdf552dd9850067ddcba9bfa3838592 | |
parent | old_cpu_power is wrongly divided by 65535 in ips_monitor() (diff) | |
download | linux-fed522f7ea780d195d5d3e55df95fee520136e17.tar.xz linux-fed522f7ea780d195d5d3e55df95fee520136e17.zip |
Release symbol on error-handling path of ips_get_i915_syms()
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>
-rw-r--r-- | drivers/platform/x86/intel_ips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index 3c7b25c3cb80..71dcc410f9d0 100644 --- 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: |