projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8def929
)
ipq806x: gcc: Added the enable regs and mask for PRNG
author
Abhishek Sahu
<absahu@codeaurora.org>
Wed, 18 Mar 2020 13:16:56 +0000
(14:16 +0100)
committer
Stephen Boyd
<sboyd@kernel.org>
Fri, 20 Mar 2020 23:29:02 +0000
(16:29 -0700)
Kernel got hanged while reading from /dev/hwrng at the
time of PRNG clock enable
Fixes:
24d8fba44af3
"clk: qcom: Add support for IPQ8064's global clock controller (GCC)"
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Link:
https://lkml.kernel.org/r/20200318131657.345-1-ansuelsmth@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-ipq806x.c
patch
|
blob
|
history
diff --git
a/drivers/clk/qcom/gcc-ipq806x.c
b/drivers/clk/qcom/gcc-ipq806x.c
index
b0eee09
..
a8456e0
100644
(file)
--- a/
drivers/clk/qcom/gcc-ipq806x.c
+++ b/
drivers/clk/qcom/gcc-ipq806x.c
@@
-1224,6
+1224,8
@@
static struct clk_rcg prng_src = {
.parent_map = gcc_pxo_pll8_map,
},
.clkr = {
+ .enable_reg = 0x2e80,
+ .enable_mask = BIT(11),
.hw.init = &(struct clk_init_data){
.name = "prng_src",
.parent_names = gcc_pxo_pll8,