soc: fsl: qe: replace spin_event_timeout by readx_poll_timeout_atomic
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 28 Nov 2019 14:55:11 +0000 (15:55 +0100)
committerLi Yang <leoyang.li@nxp.com>
Mon, 9 Dec 2019 19:54:29 +0000 (13:54 -0600)
commit580996853864728ea91a48fb13d39d9c83d19106
tree524939f2a5cdb67aa66442a1b1ecb9283cd3e6e3
parent77d7676a92d1541ac6245811a754c70c605a974d
soc: fsl: qe: replace spin_event_timeout by readx_poll_timeout_atomic

In preparation for allowing QE to be built for architectures other
than ppc, use the generic readx_poll_timeout_atomic() helper from
iopoll.h rather than the ppc-only spin_event_timeout().

Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qe/qe.c