]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: clk-krait: unlock spin after mux completion
authorAnsuel Smith <ansuelsmth@gmail.com>
Sat, 30 Apr 2022 05:44:57 +0000 (07:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:17:53 +0000 (11:17 +0200)
commit4e730914a0ab3d1a08a517ef774f6cb733dbbab8
tree68187b378a4dc41f9858e7bcd5e4b0eb437208b7
parentf465d212b621dd3c9bbc632baea17e4d18510d70
clk: qcom: clk-krait: unlock spin after mux completion

[ Upstream commit 08a18b8cbdb6e19e486825fdebfc3fea73a21ec9 ]

Unlock spinlock after the mux switch is completed to prevent any corner
case of mux request while the switch still needs to be done.

Fixes: 65ea4c3caf1c ("clk: qcom: Add support for Krait clocks")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220430054458.31321-3-ansuelsmth@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/clk-krait.c