remoteproc: qcom: hexagon: Fix error return code in q6v5_probe()
authorWei Yongjun <weiyj.lk@gmail.com>
Fri, 29 Jul 2016 15:56:52 +0000 (15:56 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 10 Aug 2016 17:51:35 +0000 (10:51 -0700)
commit4e968d9e46ceee57e3f5b96d1486745416c9a4a5
tree18d88d4d0246ee775444e62d67b6feae4c233c93
parentc14b9a940e53a50f8fc56cc613525d2db40f19be
remoteproc: qcom: hexagon: Fix error return code in q6v5_probe()

Fix to return a negative error code from the state get failed error
handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_q6v5_pil.c