Home
last modified time | relevance | path

Searched hist:ac0042fa5aa5ac7929d95f4bf9185429ccdb70cb (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/char/hw_random/
H A Dpic32-rng.cdiff ac0042fa5aa5ac7929d95f4bf9185429ccdb70cb Tue Jul 04 12:32:03 CDT 2023 Martin Kaiser <martin@kaiser.cx> 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 <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>