Skip to content
Commit 83da6b59 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Darren Hart
Browse files

platform/x86: surface3-wmi: Balance locking on error path



There is a possibility that lock will be left acquired.
Consolidate error path under out_free_unlock label.

Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 957ae509
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment