diff options
author | Arnaud Pouliquen <arnaud.pouliquen@st.com> | 2018-04-10 10:57:25 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-04-25 16:43:55 -0700 |
commit | fcd58037f28bf70eb17157a51fbf94d466634a7d (patch) | |
tree | 07e1619f9de64b4be5273b279561a4bce1dfe6c7 /include/linux/remoteproc.h | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | blackbird-op-linux-fcd58037f28bf70eb17157a51fbf94d466634a7d.tar.gz blackbird-op-linux-fcd58037f28bf70eb17157a51fbf94d466634a7d.zip |
remoteproc: fix crashed parameter logic on stop call
Fix rproc_add_subdev parameter name and inverse the crashed logic.
Fixes: 880f5b388252 ("remoteproc: Pass type of shutdown to subdev remove")
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux/remoteproc.h')
-rw-r--r-- | include/linux/remoteproc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index d09a9c7af109..dfdaede9139e 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -569,7 +569,7 @@ static inline struct rproc *vdev_to_rproc(struct virtio_device *vdev) void rproc_add_subdev(struct rproc *rproc, struct rproc_subdev *subdev, int (*probe)(struct rproc_subdev *subdev), - void (*remove)(struct rproc_subdev *subdev, bool graceful)); + void (*remove)(struct rproc_subdev *subdev, bool crashed)); void rproc_remove_subdev(struct rproc *rproc, struct rproc_subdev *subdev); |