hwrng: mediatek - Setup default RNG quality
authorSean Wang <sean.wang@mediatek.com>
Wed, 10 Jan 2018 04:02:46 +0000 (12:02 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jan 2018 11:52:25 +0000 (22:52 +1100)
commit4565da7c3995a07eea54b5e4a79d2c06209c0c85
tree1c8180ab9c81cb94ae1ae3ee3b58ca9b0efefd7d
parentbb6c8c467bce25ccd0c485b7c3214dde6b0bcb33
hwrng: mediatek - Setup default RNG quality

When hw_random device's quality is non-zero, it will automatically fill
the kernel's entropy pool at boot.  For the purpose, one conservative
quality value is being picked up as the default value.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/mtk-rng.c