aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-10-19 13:37:41 +0900
committerHerbert Xu <herbert@gondor.apana.org.au>2015-10-20 22:13:59 +0800
commitbd1dffb1424682ac5b5849e0998c26dffcd61d9e (patch)
tree1abe5913bc55ac3c05da6f9dc15f6a391e80d1b7 /crypto
parenthwrng: exynos - Add timeout for waiting on init done (diff)
downloadlinux-dev-bd1dffb1424682ac5b5849e0998c26dffcd61d9e.tar.xz
linux-dev-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 'crypto')
0 files changed, 0 insertions, 0 deletions