summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-ptn5150.c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2020-03-05 23:58:20 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-03-12 15:00:15 +0300
commit47a1f8e8b3637ff5f7806587883d7d94068d9ee8 (patch)
treeec0e231ff2a219198504f98a1c1a682acd9558e6 /drivers/extcon/extcon-ptn5150.c
parentace74b627c88ea96d4fe5811a5128475aa6a49a6 (diff)
downloadlinux-47a1f8e8b3637ff5f7806587883d7d94068d9ee8.tar.xz
hwrng: imx-rngc - fix an error path
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: 1d5449445bd0 ("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>
Diffstat (limited to 'drivers/extcon/extcon-ptn5150.c')
0 files changed, 0 insertions, 0 deletions