summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2020-03-05 23:58:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-13 14:17:57 +0300
commit28852ddcd249adb25aea2932e9dadbbb3e066603 (patch)
treebefc781b1d49679f552e88c73634a1590ba8af73 /include
parent09c032411ec59958f2f02198185c621b456cefad (diff)
downloadlinux-28852ddcd249adb25aea2932e9dadbbb3e066603.tar.xz
hwrng: imx-rngc - fix an error path
commit 47a1f8e8b3637ff5f7806587883d7d94068d9ee8 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: 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions