aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2023-07-04 19:32:03 +0200
committerHerbert Xu <[email protected]>2023-07-20 22:16:24 +1200
commitac0042fa5aa5ac7929d95f4bf9185429ccdb70cb (patch)
tree538386be1f5e5368bb90f5684d0b09d4e9047105 /tools/perf/scripts/python
parent97c63a9dea2929fc4fd42f1d4446d97b6c011a1f (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