remoteproc: fix crashed parameter logic on stop call
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Tue, 10 Apr 2018 08:57:25 +0000 (10:57 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 25 Apr 2018 23:43:55 +0000 (16:43 -0700)
commitfcd58037f28bf70eb17157a51fbf94d466634a7d
tree07e1619f9de64b4be5273b279561a4bce1dfe6c7
parent60cc43fc888428bb2f18f08997432d426a243338
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>
drivers/remoteproc/remoteproc_core.c
include/linux/remoteproc.h