Skip to content
Commit 656d7e7e authored by Andre Wolokita's avatar Andre Wolokita Committed by Herbert Xu
Browse files

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: default avatarAndre Wolokita <Andre.Wolokita@analog.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1a5addfe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment