From: minskey guo Date: Fri, 17 Sep 2010 06:03:15 +0000 (+0800) Subject: Release symbol on error-handling path of ips_get_i915_syms() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fed522f7ea780d195d5d3e55df95fee520136e17;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Acked-by: Jesse Barnes Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index 3c7b25c3cb8..71dcc410f9d 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: