hwrng: stm32 - set default random quality
authorLionel Debieve <lionel.debieve@st.com>
Mon, 1 Apr 2019 10:30:46 +0000 (12:30 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 15 Apr 2019 09:35:10 +0000 (17:35 +0800)
commit38a1965f42cc750652ed5ec70bb0cb3f7a4e20b9
tree176272b57eec3cca8487391d4fe7f3a76a473fec
parentaf0d4442dd6813de6e77309063beb064fa8e89ae
hwrng: stm32 - set default random quality

Add a default quality to hw_random device to be
automatically set as new default entropy. Setting
random quality will decrease the crng init time by
switching to this hardware random source.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/stm32-rng.c