Skip to content

Commit 1aec193

Browse files
Abhishek Sahubebarino
authored andcommitted
ipq806x: gcc: Added the enable regs and mask for PRNG
Kernel got hanged while reading from /dev/hwrng at the time of PRNG clock enable Fixes: 24d8fba "clk: qcom: Add support for IPQ8064's global clock controller (GCC)" Signed-off-by: Abhishek Sahu <[email protected]> Signed-off-by: Ansuel Smith <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 8def929 commit 1aec193

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/clk/qcom/gcc-ipq806x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,8 @@ static struct clk_rcg prng_src = {
12241224
.parent_map = gcc_pxo_pll8_map,
12251225
},
12261226
.clkr = {
1227+
.enable_reg = 0x2e80,
1228+
.enable_mask = BIT(11),
12271229
.hw.init = &(struct clk_init_data){
12281230
.name = "prng_src",
12291231
.parent_names = gcc_pxo_pll8,

0 commit comments

Comments
 (0)