diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-23 16:40:19 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-26 08:33:35 +1100 |
commit | ac3a497f13e42a99ed6fe188ebf2dcc39eb7ac20 (patch) | |
tree | 6c06a3de482d03a83d7a7c6ad8ea32f099c9530c /tools/perf/scripts/python/check-perf-trace.py | |
parent | 15b66cd54291186011f733cc750263f320b8a0a4 (diff) |
hwrng: core - Do not register device opportunistically
Currently we only register the device when a valid RNG is added.
However the way it's done is buggy because we test whether there
is a current RNG to determine whether we need to register. As
the current RNG may be missing due to a reinitialisation error
this can lead to a reregistration of the device.
As the device already has to handle a NULL current RNG anyway,
let's just register the device always and remove the complexity.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions