Files
linux/drivers
Martin Kaiser 1883a484c8 hwrng: imx-rngc - fix the timeout for init and self check
commit d744ae7477 upstream.

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: 1d5449445b ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-27 08:37:38 +02:00
..
2022-05-09 09:03:20 +02:00
2023-05-17 11:35:47 +02:00
2020-12-30 11:51:26 +01:00
2023-04-05 11:16:43 +02:00
2023-07-27 08:37:14 +02:00
2022-08-25 11:18:33 +02:00
2023-07-27 08:37:19 +02:00