projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42134fa
)
clk: qcom: lcc-ipq806x: Fixup overriding val in regmap_read call
author
Axel Lin
<axel.lin@ingics.com>
Sat, 10 Sep 2016 03:47:30 +0000
(11:47 +0800)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 2 Nov 2016 00:44:09 +0000
(17:44 -0700)
Drop the assignment of regmap_read return code to val, so the code checks
the value read.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/lcc-ipq806x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/qcom/lcc-ipq806x.c
b/drivers/clk/qcom/lcc-ipq806x.c
index db3998e5e2d83d77a5b07f8d1e29490b2e532f6d..977e98eadbeb1293a412a75f930fd9887232ea8f 100644
(file)
--- a/
drivers/clk/qcom/lcc-ipq806x.c
+++ b/
drivers/clk/qcom/lcc-ipq806x.c
@@
-443,7
+443,7
@@
static int lcc_ipq806x_probe(struct platform_device *pdev)
return PTR_ERR(regmap);
/* Configure the rate of PLL4 if the bootloader hasn't already */
-
val =
regmap_read(regmap, 0x0, &val);
+ regmap_read(regmap, 0x0, &val);
if (!val)
clk_pll_configure_sr(&pll4, regmap, &pll4_config, true);
/* Enable PLL4 source on the LPASS Primary PLL Mux */