bcm2835-rng: Avoid initialising if already enabled
authorpopcornmix <popcornmix@gmail.com>
Tue, 6 Dec 2016 17:05:39 +0000 (17:05 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:12:47 +0000 (19:12 +0000)
commiteb94396f30cb19d4be2d1a62b5448f3956789dba
treea953344fcc4b7feff32ee271924d46e39014472a
parent47caf0712cb4c3a749a5a59970513fb10a5952cc
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