diff options
author | Andre Wolokita <andre.wolokita@analog.com> | 2015-03-16 12:54:50 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-17 22:32:05 +1100 |
commit | 656d7e7ee3f3dae71862054c0893546d261a1ee7 (patch) | |
tree | 1e4d44fd29e68592f7d7cc254c703a9c9f642007 /drivers/crypto | |
parent | 1a5addfe82d2778fc3651d1f8adbf5ea5b3b0560 (diff) | |
download | linux-656d7e7ee3f3dae71862054c0893546d261a1ee7.tar.gz linux-656d7e7ee3f3dae71862054c0893546d261a1ee7.tar.bz2 linux-656d7e7ee3f3dae71862054c0893546d261a1ee7.zip |
hwrng: omap - Change RNG_CONFIG_REG to RNG_CONTROL_REG in init
omap4_rng_init() checks bit 10 of the RNG_CONFIG_REG to determine whether
the RNG is already running before performing any initiliasation. This is not
the correct register to check, as the enable bit is in RNG_CONFIG_CONTROL.
Read from RNG_CONTROL_REG instead.
Signed-off-by: Andre Wolokita <Andre.Wolokita@analog.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions