diff options
author | Sarangdhar Joshi <spjoshi@codeaurora.org> | 2017-01-24 02:53:18 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-01-30 23:18:52 +0100 |
commit | 608d792192d7136d354bc1b44585c441164dc54e (patch) | |
tree | df5a24cef47205397e1280bc4d43f67220456c26 /drivers/remoteproc/remoteproc_sysfs.c | |
parent | remoteproc: Move rproc_delete_debug_dir() to rproc_del() (diff) | |
download | linux-608d792192d7136d354bc1b44585c441164dc54e.tar.xz linux-608d792192d7136d354bc1b44585c441164dc54e.zip |
remoteproc: Add RPROC_DELETED state
Add new state RPROC_DELETED to handle synchronization
between rproc_del() and other operations on rproc. This
state represents the rproc device that has been "deleted".
CC: Loic Pallardy <loic.pallardy@st.com>
CC: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/remoteproc_sysfs.c')
-rw-r--r-- | drivers/remoteproc/remoteproc_sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/remoteproc_sysfs.c b/drivers/remoteproc/remoteproc_sysfs.c index bc5b0e00efb1..47be411400e5 100644 --- a/drivers/remoteproc/remoteproc_sysfs.c +++ b/drivers/remoteproc/remoteproc_sysfs.c @@ -73,6 +73,7 @@ static const char * const rproc_state_string[] = { [RPROC_SUSPENDED] = "suspended", [RPROC_RUNNING] = "running", [RPROC_CRASHED] = "crashed", + [RPROC_DELETED] = "deleted", [RPROC_LAST] = "invalid", }; |