aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/caamalg_qi2.c
diff options
context:
space:
mode:
authorGravatar Gatien Chevallier <gatien.chevallier@foss.st.com> 2023-09-21 10:03:00 +0200
committerGravatar Herbert Xu <herbert@gondor.apana.org.au> 2023-10-01 16:28:15 +0800
commitff4e46104f2e105c95ea84bda6350cea471d285d (patch)
tree6f4e9c8c564d9791c8e09465ebd25a2f3fc841ad /drivers/crypto/caam/caamalg_qi2.c
parenthwrng: stm32 - support RNG configuration locking mechanism (diff)
downloadlinux-ff4e46104f2e105c95ea84bda6350cea471d285d.tar.gz
linux-ff4e46104f2e105c95ea84bda6350cea471d285d.tar.bz2
linux-ff4e46104f2e105c95ea84bda6350cea471d285d.zip
hwrng: stm32 - rework power management sequences
Implement stm32_rng_suspend()/stm32_rng_resume() low-power APIs called when the hardware block context will be lost. There is no need to save the RNG_CR register in stm32_rng_runtime_suspend() as the context is not lost. Therefore, only enable/disable the RNG in the runtime sequences. Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/caamalg_qi2.c')
0 files changed, 0 insertions, 0 deletions