]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: st: Fix error return code in st_rproc_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 17 Oct 2016 16:23:35 +0000 (16:23 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 1 Nov 2016 00:36:10 +0000 (17:36 -0700)
commitc948fae5bfb501bfa902d9f718d404eb45c6dc8e
tree90f2350643d10f03d57bb6876c09008324d3457f
parent189a5bd682f672e9493e6ba074a59ddc598dccb0
remoteproc: st: Fix error return code in st_rproc_probe()

Fix to return a negative error code from the st_rproc_state() error
handling case instead of 0, as done elsewhere in this function.

Fixes: 09f714c50dfd ("remoteproc: Supply controller driver for ST's Remote Processors")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/st_remoteproc.c