]> 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)
commit55832787db61b6b38f25bb69ab23494334633a82
tree9beb09251a6d37c7e30db5fe6e10677a9b0840ff
parent3033d7bd6cde76108e613cab7e0eaff61d935580
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: 34d008c642fa ("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