diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-10-19 06:37:41 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-20 16:13:59 +0200 |
commit | bd1dffb1424682ac5b5849e0998c26dffcd61d9e (patch) | |
tree | 1abe5913bc55ac3c05da6f9dc15f6a391e80d1b7 /arch | |
parent | hwrng: exynos - Add timeout for waiting on init done (diff) | |
download | linux-bd1dffb1424682ac5b5849e0998c26dffcd61d9e.tar.xz linux-bd1dffb1424682ac5b5849e0998c26dffcd61d9e.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions