venus: firmware: Correct assertion of reset bit on remote processor
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Wed, 5 Oct 2022 08:37:30 +0000 (11:37 +0300)
committerStanimir Varbanov <stanimir.varbanov@linaro.org>
Tue, 25 Oct 2022 07:32:02 +0000 (10:32 +0300)
commit1eee6bb9b64bb3a914433bb7ec739d2e67cba5bd
tree5f225def8a8daa7b48e0a52ed58d7079e2b45900
parenta837e5161cfffbb3242cc0eb574f8bf65fd32640
venus: firmware: Correct assertion of reset bit on remote processor

Currently we use read/write_relaxed in combination with mb() to assert
reset. This looks wrong because mb() after write_relaxed() will not
order correctly load-update-store sequence. Correct this by use
readl/writel which include memory barriers.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
drivers/media/platform/qcom/venus/firmware.c