soc/fsl/qbman: Fix drain_mr_fqni()
authorRoy Pledge <roy.pledge@nxp.com>
Thu, 1 Aug 2019 20:16:59 +0000 (20:16 +0000)
committerLi Yang <leoyang.li@nxp.com>
Thu, 15 Aug 2019 21:41:49 +0000 (16:41 -0500)
commit627da8bad530ec18c2111347fe559c5c21679220
treea77861c0d11701e73d313b2d2debaa36a7d4ba4f
parentc5501aa92a881e599e1dc80f387d27763d07f67c
soc/fsl/qbman: Fix drain_mr_fqni()

The drain_mr_fqni() function may be called fron uninterruptable
context so convert the msleep() to an mdelay().  Also ensure that
the valid bit is updated while polling.

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