commit | 340939933e841bca50324d324e6a7ccf9b42999f | [log] [tgz] |
---|---|---|
author | Jorge Ramirez-Ortiz <jorge@foundries.io> | Thu Aug 06 12:00:09 2020 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Aug 21 14:45:28 2020 +1000 |
tree | 865993c15974357464e597b1760bbad4fdcad0cd | |
parent | 3a95887e27ab7c2492b7c9c831805e9f1794863b [diff] |
hwrng: optee - handle unlimited data rates Data rates of MAX_UINT32 will schedule an unnecessary one jiffy timeout on the call to msleep. Avoid this scenario by using 0 as the unlimited data rate. Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>