diff options
author | Sibi Sankar <sibis@codeaurora.org> | 2018-10-17 16:55:25 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-10-19 22:54:02 +0300 |
commit | 0304530ddd29300aed7ef6e5b2fd409c7a0162e6 (patch) | |
tree | df9f2d5c19533aa5c8960fb2dd73261ec5842e98 /crypto/cts.c | |
parent | ab8f873bb90da7bbe40e2f41c92a4971c4f0dc76 (diff) | |
download | linux-0304530ddd29300aed7ef6e5b2fd409c7a0162e6.tar.xz |
remoteproc: qcom: q6v5-mss: Refactor mba load/unload sequence
Refactor re-useable parts of mba load/unload sequence into mba_load and
mba_reclaim respectively. This is done in order to prevent code duplication
for modem coredump, which requires the mba to be loaded before dumping
the segments. The following changes in functionality are intended:
* Add software bypass to avoid high MX current in mpss error path.
* Remove the proxy votes of clk/regs only after the active/reset clks/regs.
* Reclaim MBA memory after mpss_load failure in mba_reclaim func.
* Set/Unset the dump_mba_loaded flag on mba_load/mba_reclaim respectively.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions