remoteproc: Modify recovery path to use rproc_{start,stop}()
authorSarangdhar Joshi <spjoshi@codeaurora.org>
Fri, 26 May 2017 23:51:01 +0000 (16:51 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 27 May 2017 01:11:33 +0000 (18:11 -0700)
commit7e83cab824a86704cdbd7735c19d34e0ce423dc5
tree7274a1af97a011d06371e1ad463a8066f43ae8d7
parent1efa30d0895e7e9a58a59b0880b330b38245be68
remoteproc: Modify recovery path to use rproc_{start,stop}()

Replace rproc_shutdown() by rproc_stop() and rproc_boot() by
rproc_start() in the recovery path, in order to avoid remoteproc
resources re-allocation overhead and to assist with extracting the
coredumps after stopping the remote processor.

Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c