soc: fsl: qbman: Use last response to determine valid bit
authorRoy Pledge <roy.pledge@nxp.com>
Fri, 28 Sep 2018 08:43:23 +0000 (11:43 +0300)
committerLi Yang <leoyang.li@nxp.com>
Fri, 5 Oct 2018 19:01:46 +0000 (14:01 -0500)
commitf1c98ee699314c6512522703b2bc0ed0afd08ad1
tree807a9d461fe848d5e6c60b47c12b777d41c10d62
parent06cc59386c9aae8d88efb60af27efea34755c23c
soc: fsl: qbman: Use last response to determine valid bit

Use the last valid response when determining what valid bit
to use next for management commands. This is needed in the
case that the portal was previously used by other software
like a bootloader or if the kernel is restarted without a
hardware reset.

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qbman/qman.c