commit | 791af4f4907a8bee879713cb19fa90e6369f8386 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Tue Nov 07 16:44:44 2017 -0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Nov 29 16:43:45 2017 +1100 |
tree | d3c5ec190e4d5b54b97c20899c04005ef0fa9702 | |
parent | 04b154fa86afb6ccfd38ef9b563c098b13f5984d [diff] |
hwrng: bcm2835 - Manage an optional clock One of the last steps before bcm63xx-rng can be eliminated is to manage a clock during hwrng::init and hwrng::cleanup, so fetch it in the probe function, and manage it during these two steps when valid. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>