]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: qcom: q6v5: Propagate EPROBE_DEFER
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 20 Sep 2018 01:51:51 +0000 (18:51 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 26 Sep 2018 17:10:11 +0000 (10:10 -0700)
commit7392731e300e28547f23266b305a6de6e730c7bb
tree7089d558ee38644679bba305c2d3c68e66e1b57b
parent8b1855d08e76221c9d294df9cc5660e757e2ea32
remoteproc: qcom: q6v5: Propagate EPROBE_DEFER

In the case that the interrupts fail to result because of the
interrupt-controller not yet being registered the
platform_get_irq_byname() call will fail with -EPROBE_DEFER, but passing
this into devm_request_threaded_irq() will result in -EINVAL being
returned, the driver is therefor not reprobed later.

Fixes: f75c0825fe83 ("remoteproc: q6v5: Extract common resource handling")
Cc: stable@vger.kernel.org
Reviewed-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_q6v5.c