Messages in this thread | | | Date | Fri, 25 Oct 2019 23:18:28 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH] hwrng: omap - Fix RNG wait loop timeout |
| |
On Mon, Oct 14, 2019 at 05:32:45PM +0530, Sumit Garg wrote: > Existing RNG data read timeout is 200us but it doesn't cover EIP76 RNG > data rate which takes approx. 700us to produce 16 bytes of output data > as per testing results. So configure the timeout as 1000us to also take > account of lack of udelay()'s reliability. > > Fixes: 383212425c92 ("hwrng: omap - Add device variant for SafeXcel IP-76 found in Armada 8K") > Cc: <stable@vger.kernel.org> > Signed-off-by: Sumit Garg <sumit.garg@linaro.org> > --- > drivers/char/hw_random/omap-rng.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |