commit | c5e857a46af24a772f445edcc01a861ee2d6a713 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Tue Jul 14 12:45:19 2015 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Tue Jul 28 11:51:39 2015 -0700 |
tree | 1d4e9864101a7c05d01a5b05f46c19567d833838 | |
parent | 006cb8b66e18ce7aff934883f6c50e3b85052681 [diff] |
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: kbuild test robot <fengguang.wu@intel.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Cc: Sergej Sawazki <ce3a@gmx.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>