Skip to content
Commit c5e857a4 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

clk: gpio: Unlock mutex on error path



We don't unlock the mutex if we fail to allocate the parent names
array. Unlock it and return an error in this case as well.

Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Cc: Sergej Sawazki <ce3a@gmx.de>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 006cb8b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment