summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/st_slim_rproc.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-11-19 22:42:55 -0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-11-19 22:47:36 -0800
commit90a80d88d2aac41f658ae4260ea259a292f95cb1 (patch)
tree41d1e4ef18e47b8691922f7aa5f7ee4b53f0bf9f /drivers/remoteproc/st_slim_rproc.c
parent6242347226c6540b47c1366aa8faf74ffa5a8b7d (diff)
remoteproc: Update last rproc_put users to rproc_free
The transition from rproc_put to rproc_free raced with the review of the Qualcomm ADSP and ST SLIMproc drivers and these where not updated accordingly. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/st_slim_rproc.c')
-rw-r--r--drivers/remoteproc/st_slim_rproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/remoteproc/st_slim_rproc.c b/drivers/remoteproc/st_slim_rproc.c
index 1484e9717946..507716c8721f 100644
--- a/drivers/remoteproc/st_slim_rproc.c
+++ b/drivers/remoteproc/st_slim_rproc.c
@@ -330,7 +330,7 @@ err_clk_put:
for (i = 0; i < ST_SLIM_MAX_CLK && slim_rproc->clks[i]; i++)
clk_put(slim_rproc->clks[i]);
err:
- rproc_put(rproc);
+ rproc_free(rproc);
return ERR_PTR(err);
}
EXPORT_SYMBOL(st_slim_rproc_alloc);
@@ -355,7 +355,7 @@ void st_slim_rproc_put(struct st_slim_rproc *slim_rproc)
clk_put(slim_rproc->clks[clk]);
rproc_del(slim_rproc->rproc);
- rproc_put(slim_rproc->rproc);
+ rproc_free(slim_rproc->rproc);
}
EXPORT_SYMBOL(st_slim_rproc_put);