ipq806x: gcc: Added the enable regs and mask for PRNG
Subsystems (3)
PATCH v2 1/1 ipq806x: gcc: Added the enable regs and mask for PRNG
From: Abhishek Sahu <[email protected]>
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 <[email protected]>
Signed-off-by Ansuel Smith <[email protected]>
---
v2:
* Fix wrong authorship
drivers/clk/qcom/gcc-ipq806x.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/clk/qcom/gcc-ipq806x.c +2 -0
@@ -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,
Signature · 1 line
2.25.0
Quoting Ansuel Smith (2020-03-18 06:16:56)
Quoted 11 lines
From: Abhishek Sahu <[email protected]>
Kernel got hanged while reading from
/dev/hwrngat the time of PRNG clock enableFixes 24d8fba44af3 "clk: qcom: Add support for IPQ8064's globalclock controller (GCC)"
Signed-off-by Abhishek Sahu <[email protected]>Signed-off-by Ansuel Smith <[email protected]>---
Applied to clk-next
Stephen Boyd
maintainerQuoting Ansuel Smith (2020-03-18 06:16:56)
Quoted 7 lines
From: Abhishek Sahu <[email protected]>
Kernel got hanged while reading from
/dev/hwrngat the time of PRNG clock enableFixes 24d8fba44af3 "clk: qcom: Add support for IPQ8064's globalclock controller (GCC)"
BTW, this should be on one line. Please fix it next time.
Quoted 3 lines
Signed-off-by Abhishek Sahu <[email protected]>Signed-off-by Ansuel Smith <[email protected]>