diff options
author | Martin Kaiser <martin@kaiser.cx> | 2023-09-12 16:31:17 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-09-20 13:15:29 +0800 |
commit | b6c6044b4ba561e3ca2d8a2a815f3091ee7ff33c (patch) | |
tree | 099ef1212301ef9cdbae8d1a51e1de85057cbc1b /drivers/xen/gntdev.c | |
parent | dda5b055e4b4d77c53debe559d74a59a9e32d4de (diff) |
hwrng: imx-rngc - reasonable timeout for selftest
Set a more reasonable timeout for the rngc selftest.
According to the reference manual, "The self test takes approximately
29,000 cycles to complete." The lowest possible frequency of the rngc
peripheral clock is 33.25MHz, the selftest would then take about 872us.
2.5ms should be enough for the selftest timeout.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/xen/gntdev.c')
0 files changed, 0 insertions, 0 deletions