summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/mtk-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/mtk-rng.c')
-rw-r--r--drivers/char/hw_random/mtk-rng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/mtk-rng.c b/drivers/char/hw_random/mtk-rng.c
index 8da7bcf54105..7f99cd52b40e 100644
--- a/drivers/char/hw_random/mtk-rng.c
+++ b/drivers/char/hw_random/mtk-rng.c
@@ -135,6 +135,7 @@ static int mtk_rng_probe(struct platform_device *pdev)
#endif
priv->rng.read = mtk_rng_read;
priv->rng.priv = (unsigned long)&pdev->dev;
+ priv->rng.quality = 900;
priv->clk = devm_clk_get(&pdev->dev, "rng");
if (IS_ERR(priv->clk)) {