diff options
| author | 2023-06-15 15:49:59 +0100 | |
|---|---|---|
| committer | 2023-06-23 16:15:37 +0800 | |
| commit | d744ae7477190967a3ddc289e2cd4ae59e8b1237 (patch) | |
| tree | 218445320d7b75b29f5978ca38cff498791d8885 /scripts/basic/git:/ssh: | |
| parent | KEYS: asymmetric: Use new crypto interface without scatterlists (diff) | |
| download | wireguard-linux-d744ae7477190967a3ddc289e2cd4ae59e8b1237.tar.xz wireguard-linux-d744ae7477190967a3ddc289e2cd4ae59e8b1237.zip | |
hwrng: imx-rngc - fix the timeout for init and self check
Fix the timeout that is used for the initialisation and for the self
test. wait_for_completion_timeout expects a timeout in jiffies, but
RNGC_TIMEOUT is in milliseconds. Call msecs_to_jiffies to do the
conversion.
Cc: stable@vger.kernel.org
Fixes: 1d5449445bd0 ("hwrng: mx-rngc - add a driver for Freescale RNGC")
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/basic/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
