clk: qcom: rcg: Return failure for RCG update
authorTaniya Das <tdas@codeaurora.org>
Wed, 8 May 2019 18:24:53 +0000 (23:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 08:34:37 +0000 (10:34 +0200)
commit2e390ca2158cdb6dd264d327d3e532a6cf641f5f
tree294b54ff45e0c49faf12c5a57d8abd70d8483690
parent63108f2a408abea7ecab063efa0f398da4d0d14b
clk: qcom: rcg: Return failure for RCG update

commit 21ea4b62e1f3dc258001a68da98c9663a9dbd6c7 upstream.

In case of update config failure, return -EBUSY, so that consumers could
handle the failure gracefully.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Link: https://lkml.kernel.org/r/1557339895-21952-2-git-send-email-tdas@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/qcom/clk-rcg2.c