Commit da62ed5c authored by Marek Vasut's avatar Marek Vasut Committed by Herbert Xu
Browse files

hwrng: stm32 - put IP into RPM suspend on failure



In case of an irrecoverable failure, put the IP into RPM suspend
to avoid RPM imbalance. I did not trigger this case, but it seems
it should be done based on reading the code.

Fixes: b17bc6eb ("hwrng: stm32 - rework error handling in stm32_rng_read()")
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 31b57788
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment