Skip to content
Commit 8e991519 authored by Francois Ramu's avatar Francois Ramu Committed by Carles Cufi
Browse files

drivers: entropy: stm32 rng driver should not block if Seed error occurs



When a Seed error occurs during the random nb generation,
the driver tries to recover and exit without providing a random data
This avoids looping endlessly on the DRDY bit of the RNG status reg
because it remains 0 in case of error.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent ea3f3dac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment