remoteproc: Properly represent the attached state
There is a need to know when a remote processor has been attached to rather than booted by the remoteproc core. In order to avoid manipulating two variables, i.e rproc::autonomous and rproc::state, get rid of the former and simply use the newly introduced RPROC_ATTACHED state. Signed-off-by: NMathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NArnaud Pouliquen <arnaud.pouliquen@st.com> Link: https://lore.kernel.org/r/20210312162453.1234145-5-mathieu.poirier@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Showing
想要评论请 注册 或 登录