linux-yocto/drivers/char/hw_random
Martin Kaiser bbe3eda970 hwrng: imx-rngc - fix an error path
commit 47a1f8e8b3 upstream.

Make sure that the rngc interrupt is masked if the rngc self test fails.
Self test failure means that probe fails as well. Interrupts should be
masked in this case, regardless of the error.

Cc: stable@vger.kernel.org
Fixes: 1d5449445b ("hwrng: mx-rngc - add a driver for Freescale RNGC")
Reviewed-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-13 10:34:33 +02:00
..
amd-rng.c hwrng: amd - Revert managed API changes 2017-03-16 17:43:10 +08:00
atmel-rng.c
bcm63xx-rng.c
bcm2835-rng.c
cavium-rng-vf.c
cavium-rng.c
core.c hwrng: core - don't wait on add_early_randomness() 2019-10-05 12:48:12 +02:00
geode-rng.c hwrng: geode - Revert managed API changes 2017-03-16 17:43:11 +08:00
hisi-rng.c
imx-rngc.c hwrng: imx-rngc - fix an error path 2020-04-13 10:34:33 +02:00
intel-rng.c
iproc-rng200.c
ixp4xx-rng.c
Kconfig hwrng: mx-rngc - add a driver for Freescale RNGC 2017-08-03 14:00:21 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
meson-rng.c hwrng: meson - add clock handling to driver 2017-03-16 17:58:49 +08:00
msm-rng.c
mtk-rng.c hwrng: mtk - add runtime PM support 2017-06-20 11:21:28 +08:00
mxc-rnga.c
n2-asm.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
n2-drv.c hwrng: n2 - Use devm_kcalloc() in n2rng_probe() 2017-04-21 20:30:47 +08:00
n2rng.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nomadik-rng.c
octeon-rng.c
omap-rng.c hwrng: omap - Fix RNG wait loop timeout 2019-12-17 20:39:24 +01:00
omap3-rom-rng.c hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled 2019-12-31 12:36:57 +01:00
pasemi-rng.c
pic32-rng.c
powernv-rng.c
pseries-rng.c
s390-trng.c s390/trng: Introduce s390 TRNG device driver. 2017-04-26 13:41:36 +02:00
st-rng.c
stm32-rng.c hwrng: stm32 - fix unbalanced pm_runtime_enable 2019-12-05 15:38:30 +01:00
timeriomem-rng.c hw_random: timeriomem_rng: Allow setting RNG quality from platform data 2017-06-01 12:55:58 +08:00
tpm-rng.c
tx4939-rng.c
via-rng.c x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping 2018-02-22 15:42:24 +01:00
virtio-rng.c hwrng: virtio - Avoid repeated init of completion 2019-04-05 22:31:38 +02:00
xgene-rng.c