summaryrefslogtreecommitdiffstats
path: root/drivers/soc/fsl/qbman/qman_ccsr.c
diff options
context:
space:
mode:
authorRoy Pledge <roy.pledge@nxp.com>2019-08-01 22:17:01 +0200
committerLi Yang <leoyang.li@nxp.com>2019-08-15 23:41:53 +0200
commitea2b8488baa705be44e7c7ac8a42d33fd31315b7 (patch)
tree305cfdd9e82063514346bf22180e51d1b60341ff /drivers/soc/fsl/qbman/qman_ccsr.c
parentsoc/fsl/qbman: Fix drain_mr_fqni() (diff)
downloadlinux-ea2b8488baa705be44e7c7ac8a42d33fd31315b7.tar.xz
linux-ea2b8488baa705be44e7c7ac8a42d33fd31315b7.zip
soc/fsl/qbman: Disable interrupts during portal recovery
Disable the QBMan interrupts during recovery. Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/fsl/qbman/qman_ccsr.c')
-rw-r--r--drivers/soc/fsl/qbman/qman_ccsr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/fsl/qbman/qman_ccsr.c b/drivers/soc/fsl/qbman/qman_ccsr.c
index 709661b7b7a8..157659fd033a 100644
--- a/drivers/soc/fsl/qbman/qman_ccsr.c
+++ b/drivers/soc/fsl/qbman/qman_ccsr.c
@@ -744,6 +744,7 @@ int qman_requires_cleanup(void)
void qman_done_cleanup(void)
{
+ qman_enable_irqs();
__qman_requires_cleanup = 0;
}