Files
android_kernel_xiaomi_sm8450/drivers/char/hw_random
Krzysztof Kozlowski bd1dffb142 hwrng: exynos - Fix missing configuration after suspend to RAM
After suspend to RAM the device stopped to work with ETIMEDOUT error:

$ dd if=/dev/hwrng of=/dev/null bs=1 count=16
dd: reading `/dev/hwrng': Connection timed out

In the STATUS register the bits #5 (PRNG_DONE) and #1
(SEED_SETTING_DONE) were not set. Instead PRNG_ERROR (seventh bit) was
high.

After each system suspend initialize the seed to fix the error.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-10-20 22:13:59 +08:00
..
2014-10-02 14:35:00 +08:00
2014-10-02 14:35:00 +08:00
2014-10-02 14:35:00 +08:00
2008-07-18 00:46:09 -07:00
2011-07-28 01:26:30 -07:00
2015-05-19 15:47:30 +02:00