diff options
| author | Martin Kaiser <[email protected]> | 2023-07-04 19:32:03 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-07-20 22:16:24 +1200 |
| commit | ac0042fa5aa5ac7929d95f4bf9185429ccdb70cb (patch) | |
| tree | 538386be1f5e5368bb90f5684d0b09d4e9047105 /tools/perf/scripts/python | |
| parent | 97c63a9dea2929fc4fd42f1d4446d97b6c011a1f (diff) | |
hwrng: pic32 - enable TRNG only while it's used
The probe function enables the TRNG hardware before registering the
driver. If registration fails, probe returns an error, but the TRNG
remains enabled.
Define init and cleanup functions, enable and disable the hardware there.
Signed-off-by: Martin Kaiser <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions