]> asedeno.scripts.mit.edu Git - linux.git/commit
remoteproc: Remove null character write of shared mem
authorJitendra Sharma <shajit@codeaurora.org>
Thu, 8 Feb 2018 11:41:02 +0000 (17:11 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 12 Feb 2018 18:30:15 +0000 (10:30 -0800)
commit2d02d158047643060b7d6e0829fcc81518ce663d
tree9e8f86e24b2cf91d4cbf6f672c11e690ed68b67c
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
remoteproc: Remove null character write of shared mem

remoteproc is writing '\0' in the shared mem region. This
region is shared among multiple clients that are also trying
to read. Hence they miss first character.

Remove this null character write, as this mem area is
supposed to be Read only.

Further during every subsystem reboot, this region is
initialized with default, hence no need to write this
region.

Signed-off-by: Jitendra Sharma <shajit@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_adsp_pil.c
drivers/remoteproc/qcom_q6v5_pil.c
drivers/remoteproc/qcom_wcnss.c