diff options
author | minskey guo <chaohong.guo@linux.intel.com> | 2010-09-17 02:03:15 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-10-05 14:59:01 -0400 |
commit | fed522f7ea780d195d5d3e55df95fee520136e17 (patch) | |
tree | a694e5894fdf552dd9850067ddcba9bfa3838592 /drivers | |
parent | c21eae4f7c38db0e4693fb4cb24fb42fb83d8c15 (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.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) | |||
1390 | return true; | 1390 | return true; |
1391 | 1391 | ||
1392 | out_put_busy: | 1392 | out_put_busy: |
1393 | symbol_put(i915_gpu_turbo_disable); | 1393 | symbol_put(i915_gpu_busy); |
1394 | out_put_lower: | 1394 | out_put_lower: |
1395 | symbol_put(i915_gpu_lower); | 1395 | symbol_put(i915_gpu_lower); |
1396 | out_put_raise: | 1396 | out_put_raise: |