remoteproc: qcom: q6v5: shore up resource probe handling
authorBrian Norris <briannorris@chromium.org>
Tue, 9 Oct 2018 22:25:27 +0000 (15:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Sep 2019 06:21:45 +0000 (08:21 +0200)
commit84ba9ae18fbbc1c2ef3c7fc5a726568b2fc4382d
treecc4b7efe9045543a9a1c385e93c89a8f8fd3baf7
parent56944c0b9774ddc5bf6d974b924fca4fb6ad63ac
remoteproc: qcom: q6v5: shore up resource probe handling

[ Upstream commit 1e2517d126171a41f801738ffd19687836cd178a ]

Commit d5269c4553a6 ("remoteproc: qcom: q6v5: Propagate EPROBE_DEFER")
fixed up our probe code to handle -EPROBE_DEFER, but it ignored one of
our interrupts, and it also didn't really handle all the other error
codes you might get (e.g., with a bad DT definition). Handle those all
explicitly.

Fixes: d5269c4553a6 ("remoteproc: qcom: q6v5: Propagate EPROBE_DEFER")
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/remoteproc/qcom_q6v5.c