clk: qcom: rcg: Return failure for RCG update
authorTaniya Das <tdas@codeaurora.org>
Wed, 8 May 2019 18:24:53 +0000 (23:54 +0530)
committerStephen Boyd <sboyd@kernel.org>
Tue, 17 Sep 2019 17:29:39 +0000 (10:29 -0700)
commit21ea4b62e1f3dc258001a68da98c9663a9dbd6c7
tree5fdcb37c1420cd5f88d73ee023f7aa2d900c2eec
parent3bcff3e45bc0d0d18ac1df7145d37323b82caf88
clk: qcom: rcg: Return failure for RCG update

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>
drivers/clk/qcom/clk-rcg2.c