diff options
author | Sibi Sankar <sibis@codeaurora.org> | 2018-04-18 01:14:15 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-04-17 14:41:00 -0700 |
commit | 2724807f7f70a6a3e67b3f6bf921cc77ed39c8a1 (patch) | |
tree | f07f36234737141ca027b77e4508f7568f95c978 /kernel/events/core.c | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | linux-2724807f7f70a6a3e67b3f6bf921cc77ed39c8a1.tar.gz linux-2724807f7f70a6a3e67b3f6bf921cc77ed39c8a1.tar.bz2 linux-2724807f7f70a6a3e67b3f6bf921cc77ed39c8a1.zip |
remoteproc: Prevent incorrect rproc state on xfer mem ownership failure
Any failure in the secure call for transferring mem ownership of mba
region to Q6 would result in reporting that the remoteproc device
is running. This is because the previous q6v5_clk_enable would have
been a success. Prevent this by updating variable 'ret' accordingly.
Cc: stable@vger.kernel.org
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'kernel/events/core.c')
0 files changed, 0 insertions, 0 deletions