提交 fed522f7 编写于 作者: M minskey guo 提交者: Matthew Garrett

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: Nminskey guo <chaohong.guo@intel.com>
Acked-by: NJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
上级 c21eae4f
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册