remoteproc/mediatek: Remove non-standard dsb()
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 16 Oct 2020 03:14:42 +0000 (22:14 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 16 Oct 2020 03:14:42 +0000 (22:14 -0500)
commit141bc97c1bfe31397b2a12e5676d0c2692c8e07e
tree9beb09251a6d37c7e30db5fe6e10677a9b0840ff
parent526b9e0cf3780cfa529edb3d62bc2714e5c019e1
remoteproc/mediatek: Remove non-standard dsb()

As reported by Stephen, dsb() is not declared on e.g. x86_64, preventing
the mtp_scp from building. Simply remove the barrier (and the readback),
suggested by Pi-Hsun to resolve this.

Fixes: fd0b6c1ff85a ("remoteproc/mediatek: Add support for mt8192 SCP")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Suggested-by: Pi-Hsun Shih <pihsun@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/mtk_scp.c