Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: entropy: stm32: reinit rng when exiting suspend to ram
With PM, when resuming from low power mode, reenable the RNG register clocks and check the health register. If it is not set to the desired value, it means we exit Suspend to RAM mode, and that the RNG needs to be reinitialized. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
- Loading branch information