summaryrefslogtreecommitdiff
path: root/include/linux/io.h
diff options
context:
space:
mode:
authorGatien Chevallier <gatien.chevallier@foss.st.com>2023-09-21 11:03:00 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-01 11:28:15 +0300
commitff4e46104f2e105c95ea84bda6350cea471d285d (patch)
tree6f4e9c8c564d9791c8e09465ebd25a2f3fc841ad /include/linux/io.h
parenta1b03e7ade409125712313c04a97242e18aae88e (diff)
downloadlinux-ff4e46104f2e105c95ea84bda6350cea471d285d.tar.xz
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 'include/linux/io.h')
0 files changed, 0 insertions, 0 deletions