diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2021-03-12 09:24:45 -0700 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-03-18 07:55:47 -0500 |
commit | 6070203fe43335a02b7fd103bae582095411adc5 (patch) | |
tree | 94f647a8113eef69fdbdf61f318f733ef5f98bdb /include/linux/remoteproc.h | |
parent | 7f3bd0c019cb813448d867c17c9b9dad205a13eb (diff) |
remoteproc: Introduce function __rproc_detach()
Introduce function __rproc_detach() to perform the same kind of
operation as rproc_stop(), but instead of switching off the
remote processor using rproc->ops->stop(), it uses
rproc->ops->detach(). That way it is possible for the core
to release the resources associated with a remote processor while
the latter is kept operating.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Link: https://lore.kernel.org/r/20210312162453.1234145-10-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux/remoteproc.h')
0 files changed, 0 insertions, 0 deletions