]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: omap3-rom - Initialize default quality to get data
authorTony Lindgren <tony@atomide.com>
Sat, 14 Sep 2019 21:02:57 +0000 (14:02 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:06:11 +0000 (01:06 +1000)
commit7b748fec462d6e0ed018ae2cdf0051e907db2904
treef8b93301abab6a124976030a2c33f1a6d9e2c818
parent510178c22553127d1e8cfb0624058589f1703bd8
hwrng: omap3-rom - Initialize default quality to get data

Similar to commit 497f813ec99d ("hwrng: omap - Set default quality")
we need to initialize the default quality for the RNG to be used.

The symptoms of this problem is that doing hd /dev/random does not
produce much data at all.

Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Adam Ford <aford173@gmail.com>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap3-rom-rng.c