Commit 42a51c75 authored by Sibi Sankar's avatar Sibi Sankar Committed by Bjorn Andersson

remoteproc: qcom_q6v5_mss: Remove redundant running state

Remove the redundant running state, as an equivalent is maintained in
the common q6v5 resource handling helpers.
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: default avatarEvan Green <evgreen@chromium.org>
Signed-off-by: default avatarSibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200602163257.26978-2-sibis@codeaurora.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 5b7be880
......@@ -181,8 +181,6 @@ struct q6v5 {
int active_reg_count;
int proxy_reg_count;
bool running;
bool dump_mba_loaded;
size_t current_dump_size;
size_t total_dump_size;
......@@ -1333,7 +1331,6 @@ static int q6v5_start(struct rproc *rproc)
/* Reset Dump Segment Mask */
qproc->current_dump_size = 0;
qproc->running = true;
return 0;
......@@ -1349,8 +1346,6 @@ static int q6v5_stop(struct rproc *rproc)
struct q6v5 *qproc = (struct q6v5 *)rproc->priv;
int ret;
qproc->running = false;
ret = qcom_q6v5_request_stop(&qproc->q6v5);
if (ret == -ETIMEDOUT)
dev_err(qproc->dev, "timed out on wait\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment