aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorminskey guo <chaohong.guo@linux.intel.com>2010-09-17 02:03:15 -0400
committerMatthew Garrett <mjg@redhat.com>2010-10-05 14:59:01 -0400
commitfed522f7ea780d195d5d3e55df95fee520136e17 (patch)
treea694e5894fdf552dd9850067ddcba9bfa3838592 /drivers
parentc21eae4f7c38db0e4693fb4cb24fb42fb83d8c15 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/intel_ips.c2
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)
1390 return true; 1390 return true;
1391 1391
1392out_put_busy: 1392out_put_busy:
1393 symbol_put(i915_gpu_turbo_disable); 1393 symbol_put(i915_gpu_busy);
1394out_put_lower: 1394out_put_lower:
1395 symbol_put(i915_gpu_lower); 1395 symbol_put(i915_gpu_lower);
1396out_put_raise: 1396out_put_raise: