Skip to content
Commit 96a6af54 authored by Matthias Brugger's avatar Matthias Brugger Committed by Herbert Xu
Browse files

hwrng: iproc-rng200 - Fix disable of the block.



When trying to disable the block we bitwise or the control
register with value zero. This is confusing as using bitwise or with
value zero doesn't have any effect at all. Drop this as we already set
the enable bit to zero by appling inverted RNG_RBGEN_MASK.

Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
Acked-by: default avatarScott Branden <scott.branden@broadcom.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5318d3db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment