Commit c0d189c1 authored by Loic Poulain's avatar Loic Poulain
Browse files

hwrng: msm: Setup RNG quality

The hwrng device can only contribute to the entropy pool if its quality
is non-zero. The current quality is zero which can lead to long boot
time on headless systems (without enough source of entropy).
Set the entropy quality of msm-rng to 700 (/1024), as defined in the
downstream kernel:

https://android.googlesource.com/kernel/msm/+/android-7.1.0_r0.2/drivers/char/hw_random/msm-rng.c#159



Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
parent 0407ad53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment