rpmsg: qcom_smd: Fix returning 0 if irq_of_parse_and_map() fails
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 23 Apr 2022 09:39:32 +0000 (11:39 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 28 Apr 2022 19:32:15 +0000 (14:32 -0500)
commit59d6f72f6f9c92fec8757d9e29527da828e9281f
treef9637232dc260d9c38a6fbcd697c42ec18f9a57a
parentdf191796985922488e4e6b64f7bd79c3934412f2
rpmsg: qcom_smd: Fix returning 0 if irq_of_parse_and_map() fails

irq_of_parse_and_map() returns 0 on failure, so this should not be
passed further as error return code.

Fixes: 1a358d350664 ("rpmsg: qcom_smd: Fix irq_of_parse_and_map() return value")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220423093932.32136-1-krzysztof.kozlowski@linaro.org
drivers/rpmsg/qcom_smd.c