[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)
commit984e976f5382ff09351ddd3b023937611396d739
tree2fcce0de19b06547772f015b8409efc3d2c8d52a
parent2407d60872dd2a95404c6048f775f3b64d438f4b
[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