projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bcff3e
)
clk: qcom: rcg: Return failure for RCG update
author
Taniya Das
<tdas@codeaurora.org>
Wed, 8 May 2019 18:24:53 +0000
(23:54 +0530)
committer
Stephen Boyd
<sboyd@kernel.org>
Tue, 17 Sep 2019 17:29:39 +0000
(10:29 -0700)
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
patch
|
blob
|
history
diff --git
a/drivers/clk/qcom/clk-rcg2.c
b/drivers/clk/qcom/clk-rcg2.c
index 8c02bffe50dfac53e7d9adc92535084f11018f00..57dbac9a590ed945217c8b2b067566ee076c3376 100644
(file)
--- a/
drivers/clk/qcom/clk-rcg2.c
+++ b/
drivers/clk/qcom/clk-rcg2.c
@@
-119,7
+119,7
@@
static int update_config(struct clk_rcg2 *rcg)
}
WARN(1, "%s: rcg didn't update its configuration.", name);
- return
0
;
+ return
-EBUSY
;
}
static int clk_rcg2_set_parent(struct clk_hw *hw, u8 index)