diff mbox series

hwrng: iproc: set quality to 1000

Message ID 20210220182935.11247-1-noltari@gmail.com (mailing list archive)
State New, archived
Headers show
Series hwrng: iproc: set quality to 1000 | expand

Commit Message

Álvaro Fernández Rojas Feb. 20, 2021, 6:29 p.m. UTC
This allows khwrngd to make use of iproc-rng200.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
 drivers/char/hw_random/iproc-rng200.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
index 01583faf9893..e49868dd9b96 100644
--- a/drivers/char/hw_random/iproc-rng200.c
+++ b/drivers/char/hw_random/iproc-rng200.c
@@ -199,6 +199,7 @@  static int iproc_rng200_probe(struct platform_device *pdev)
 	priv->rng.read = iproc_rng200_read;
 	priv->rng.init = iproc_rng200_init;
 	priv->rng.cleanup = iproc_rng200_cleanup;
+	priv->rng.quality = 1000;
 
 	/* Register driver */
 	ret = devm_hwrng_register(dev, &priv->rng);