hwrng: bcm2835 - sleep more intelligently
While waiting for random data, use sleeps that are proportional to the amount of data expected. Prevent indefinite waits by giving up if nothing is received for a second. See: https://github.com/raspberrypi/linux/issues/5390 Signed-off-by:Phil Elwell <phil@raspberrypi.com>
Loading
Please register or sign in to comment