[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210220182935.11247-1-noltari@gmail.com>
Date: Sat, 20 Feb 2021 19:29:35 +0100
From: Álvaro Fernández Rojas
<noltari@...il.com>
To: mpm@...enic.com, herbert@...dor.apana.org.au, rjui@...adcom.com,
sbranden@...adcom.com, bcm-kernel-feedback-list@...adcom.com,
Julia.Lawall@...ia.fr, noltari@...il.com, f.fainelli@...il.com,
linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] hwrng: iproc: set quality to 1000
This allows khwrngd to make use of iproc-rng200.
Signed-off-by: Álvaro Fernández Rojas <noltari@...il.com>
---
drivers/char/hw_random/iproc-rng200.c | 1 +
1 file changed, 1 insertion(+)
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);
--
2.20.1
Powered by blists - more mailing lists