soc: fsl: qbman: Ensure device cleanup is run for kexec
authorRoy Pledge <roy.pledge@nxp.com>
Tue, 27 Oct 2020 02:28:30 +0000 (02:28 +0000)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 02:52:54 +0000 (10:52 +0800)
commite2d82d303f902cfcbb1b38d45acbce629f933b8d
tree88e80062915e02e2be0d570d4fd978297ac089c6
parent2d060d1326d51f0783c2b6e607c9c09537166c22
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>
drivers/soc/fsl/qbman/bman_portal.c
drivers/soc/fsl/qbman/qman_portal.c