hwrng: bcm2835 - Read as much data as available
authorYendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
Fri, 27 May 2016 10:10:41 +0000 (06:10 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 31 May 2016 09:52:29 +0000 (17:52 +0800)
commit4f8de65bab611a68f40355ac9169edb4d0d33974
treefed8110b1923e79c0be812542c53a5cb183e42d8
parent33a36a5bc0a158fa5d37ab15edc90f5928051a7e
hwrng: bcm2835 - Read as much data as available

Read the requested number of data from the fifo

Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/bcm2835-rng.c