We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 419caed commit 83874b8Copy full SHA for 83874b8
drivers/crypto/caam/ctrl.c
@@ -382,8 +382,8 @@ static void kick_trng(struct device *dev, int ent_delay)
382
val = ent_delay;
383
/* min. freq. count, equal to 1/4 of the entropy sample length */
384
wr_reg32(&r4tst->rtfrqmin, val >> 2);
385
- /* max. freq. count, equal to 16 times the entropy sample length */
386
- wr_reg32(&r4tst->rtfrqmax, val << 4);
+ /* disable maximum frequency count */
+ wr_reg32(&r4tst->rtfrqmax, RTFRQMAX_DISABLE);
387
}
388
389
wr_reg32(&r4tst->rtsdctl, (val << RTSDCTL_ENT_DLY_SHIFT) |
0 commit comments