]> 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)
commit51441bc6629539eb09e5610a925e63022c393f4b
tree68187b378a4dc41f9858e7bcd5e4b0eb437208b7
parent366b70845ec4a086d9f7c998c5762e19a7571c6d
clk: qcom: clk-krait: unlock spin after mux completion

[ Upstream commit 1c5997a5276de6bba40e6f1f11d1fba8c772371a ]

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: ab4d2c82be72 ("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