projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f314273
)
clk: gxl: correct saradc clock id when check sardadc clock [1/1]
author
Jian Hu
<jian.hu@amlogic.com>
Mon, 3 Dec 2018 09:05:10 +0000
(17:05 +0800)
committer
Jianxin Pan
<jianxin.pan@amlogic.com>
Mon, 3 Dec 2018 09:23:03 +0000
(
01:23
-0800)
PD#OTT-944
Problem:
saradc check the wrong clock id.
Solution:
correct saradc id.
Verify:
verified on P212 board
Change-Id: I7fdde80c21228e45ec165252549bf4ca5f21bd67
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
drivers/amlogic/clk/gxl/clk_misc.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/clk/gxl/clk_misc.c
b/drivers/amlogic/clk/gxl/clk_misc.c
index
26e495c
..
47b74d7
100644
(file)
--- a/
drivers/amlogic/clk/gxl/clk_misc.c
+++ b/
drivers/amlogic/clk/gxl/clk_misc.c
@@
-486,7
+486,7
@@
void amlogic_init_misc(void)
&clk_divider_ops,
saradc_hws[CLKID_SARADC_GATE - CLKID_SARADC_MUX],
&clk_gate_ops, 0);
- if (IS_ERR(clks[CLKID_
PDM
_COMP]))
+ if (IS_ERR(clks[CLKID_
SARADC
_COMP]))
pr_err("%s: %d clk_register_composite saradc_composite error\n",
__func__, __LINE__);