soc: fsl: qbman: Ensure device cleanup is run for kexec
authorRoy Pledge <roy.pledge@nxp.com>
Tue, 3 Nov 2020 20:05:55 +0000 (15:05 -0500)
committerLi Yang <leoyang.li@nxp.com>
Tue, 6 Apr 2021 16:22:39 +0000 (11:22 -0500)
commitc4e38b2a27a852ed1507163a9cc5b3a9d2a2da97
treef5f9dee65580fa5da69368d3e2052bca9147a558
parenta38fd8748464831584a19438cbb3082b5a2dab15
soc: fsl: qbman: Ensure device cleanup is run for kexec

Make sure that the QBMan device cleanup routines are executed
when the device was previously initialized. This is needed for
kexec since the device will keep it's state from the previous
kernel that was executing.

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qbman/bman_portal.c
drivers/soc/fsl/qbman/qman_portal.c