diff options
| author | Martin Kaiser <[email protected]> | 2023-07-10 22:27:32 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-07-22 13:59:37 +1200 |
| commit | 71839a641066881e032b6353516b16bdafbf606a (patch) | |
| tree | 1ec14cad01378ddabfc2dced077d0d7ad268932b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6257490b95252b0c22e4b518570d438cedc78a0d (diff) | |
hwrng: ingenic - don't disable the rng in ingenic_trng_remove
There's no need to disable the rng in ingenic_trng_remove.
The driver's init function sets the CFG_GEN_EN bit to enable the
rng. The cleanup function clears CFG_GEN_EN to revert this.
The remove function calls hwrng_unregister. If the ingenic-trng is not
the current rng at this point, CFG_GEN_EN has already been cleared. If
the ingenic-trng is the current rng, drop_current_rng will call the
cleanup function.
Signed-off-by: Martin Kaiser <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions