]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4999d1df237bba3ba53153e3fcb53ccf9f185798
tree9beb09251a6d37c7e30db5fe6e10677a9b0840ff
parente00464afc935f2bac04f3e2b0c142cebc6d317bc
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: 5da84aa5ba54 ("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