summaryrefslogtreecommitdiff
path: root/drivers/crypto/n2_core.c
diff options
context:
space:
mode:
authorKshitiz Varshney <kshitiz.varshney@nxp.com>2022-08-22 14:19:03 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-09-02 13:37:23 +0300
commit10a2199caf437e893d9027d97700b3c6010048b7 (patch)
tree94cbce07506fb28a2f8a881a599a76b18f83d191 /drivers/crypto/n2_core.c
parent2ad548ebb85cc416587ba68c0e530a2f00b2273a (diff)
downloadlinux-10a2199caf437e893d9027d97700b3c6010048b7.tar.xz
hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
Issue: While servicing interrupt, if the IRQ happens to be because of a SEED_DONE due to a previous boot stage, you end up completing the completion prematurely, hence causing kernel to crash while booting. Fix: Moving IRQ handler registering after imx_rngc_irq_mask_clear() Fixes: 1d5449445bd0 (hwrng: mx-rngc - add a driver for Freescale RNGC) Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/n2_core.c')
0 files changed, 0 insertions, 0 deletions