diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-10-19 13:37:41 +0900 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-20 22:13:59 +0800 |
commit | bd1dffb1424682ac5b5849e0998c26dffcd61d9e (patch) | |
tree | 1abe5913bc55ac3c05da6f9dc15f6a391e80d1b7 /drivers/char/lp.c | |
parent | d7fd6075a205f19cd0c570c8b5badb8c69321d88 (diff) | |
download | talos-obmc-linux-bd1dffb1424682ac5b5849e0998c26dffcd61d9e.tar.gz talos-obmc-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 'drivers/char/lp.c')
0 files changed, 0 insertions, 0 deletions