bcm2835-rng: Avoid initialising if already enabled
authorpopcornmix <popcornmix@gmail.com>
Tue, 6 Dec 2016 17:05:39 +0000 (17:05 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:47 +0000 (16:03 +0000)
commited48b544108aced8bce4a64cf99d0523fde5c1b4
tree66a7b5989c8b759edceb4ed6e4d417a4e2f7e6bc
parent154c30dcb714b4b46af90b283f5344152b951ec6
bcm2835-rng: Avoid initialising if already enabled

Avoids the 0x40000 cycles of warmup again if firmware has already used it
drivers/char/hw_random/bcm2835-rng.c