]> git.baikalelectronics.ru Git - kernel.git/commit
[HWRNG]: move status polling loop to data_present callbacks
authorPatrick McHardy <kaber@trash.net>
Wed, 21 Nov 2007 04:24:45 +0000 (12:24 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:16 +0000 (08:16 +1100)
commit03ad83d2246b2b4d96c89d88017760315cf3a917
tree2fcce0de19b06547772f015b8409efc3d2c8d52a
parent570ab45bf595f7f5c3ad62b3c012b9cbd3e021b9
[HWRNG]: move status polling loop to data_present callbacks

Handle waiting for new random within the drivers themselves, this allows to
use better suited timeouts for the individual rngs.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/amd-rng.c
drivers/char/hw_random/core.c
drivers/char/hw_random/geode-rng.c
drivers/char/hw_random/intel-rng.c
drivers/char/hw_random/omap-rng.c
drivers/char/hw_random/pasemi-rng.c
drivers/char/hw_random/via-rng.c
include/linux/hw_random.h