]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: qcom: wcnss: Fix handling of IRQs
authorSireesh Kodali <sireeshkodali1@gmail.com>
Thu, 26 May 2022 14:17:39 +0000 (19:47 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 7 Jul 2022 03:24:37 +0000 (22:24 -0500)
commit86a51de2d021ef3674d5ab127613c1aac994ea59
treeae808ec44615ba0a6be7e6f246475e7d2f2df5ad
parentde6693e56b2b8ed579cd352dc6777b5a5c1ed0b4
remoteproc: qcom: wcnss: Fix handling of IRQs

The wcnss_get_irq function is expected to return a value > 0 in the
event that an IRQ is succssfully obtained, but it instead returns 0.
This causes the stop and ready IRQs to never actually be used despite
being defined in the device-tree. This patch fixes that.

Fixes: f30a7ac300d0 ("remoteproc: qcom: Introduce WCNSS peripheral image loader")
Signed-off-by: Sireesh Kodali <sireeshkodali1@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220526141740.15834-2-sireeshkodali1@gmail.com
drivers/remoteproc/qcom_wcnss.c