diff options
author | 2023-09-21 10:03:00 +0200 | |
---|---|---|
committer | 2023-10-01 16:28:15 +0800 | |
commit | ff4e46104f2e105c95ea84bda6350cea471d285d (patch) | |
tree | 6f4e9c8c564d9791c8e09465ebd25a2f3fc841ad /drivers/watchdog | |
parent | hwrng: stm32 - support RNG configuration locking mechanism (diff) | |
download | linux-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/watchdog')
0 files changed, 0 insertions, 0 deletions