remoteproc: Add RPROC_DELETED state
authorSarangdhar Joshi <spjoshi@codeaurora.org>
Tue, 24 Jan 2017 01:53:18 +0000 (17:53 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 30 Jan 2017 22:18:52 +0000 (14:18 -0800)
commit608d792192d7136d354bc1b44585c441164dc54e
treedf5a24cef47205397e1280bc4d43f67220456c26
parentb003d45b37b2d2c682f279e6fd5a9254b8ddc244
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>
drivers/remoteproc/remoteproc_sysfs.c
include/linux/remoteproc.h