author | Mathieu Poirier <mathieu.poirier@linaro.org> | |
Fri, 12 Mar 2021 16:24:50 +0000 (09:24 -0700) | ||
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | |
Thu, 18 Mar 2021 13:02:09 +0000 (08:02 -0500) | ||
commit | 83d4e6712c3b1a7dd5b43251737ea3d7d0a460f4 | |
tree | 87e484c963dd07434fe2472c94e82cd86ebb385f | tree | snapshot (tar.xz tar.gz zip) |
parent | 800dad0025ecb9ca8c885414cab070f8cc40e81e | commit | diff |
remoteproc: Properly deal with a start request when attached
This patch takes into account scenarios where a remote processor
has been attached to when receiving a "start" command from sysfs.
As with the case with the running state, the command can't be
carried out if the remote processor is already in operation.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Link: https://lore.kernel.org/r/20210312162453.1234145-15-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This patch takes into account scenarios where a remote processor
has been attached to when receiving a "start" command from sysfs.
As with the case with the running state, the command can't be
carried out if the remote processor is already in operation.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Link: https://lore.kernel.org/r/20210312162453.1234145-15-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_cdev.c | diff | blob | history | |
drivers/remoteproc/remoteproc_sysfs.c | diff | blob | history |