Commit 421777a0 authored by Barnabás Czémán's avatar Barnabás Czémán Committed by Bjorn Andersson
Browse files

soc: qcom: smp2p: Fix fallback to qcom,ipc parse



mbox_request_channel() returning value was changed in case of error.
It uses returning value of of_parse_phandle_with_args().
It is returning with -ENOENT instead of -ENODEV when no mboxes property
exists.

Fixes: 24fdd507 ("mailbox: use error ret code of of_parse_phandle_with_args()")
Signed-off-by: default avatarBarnabás Czémán <barnabas.czeman@mainlining.org>
Reviewed-by: default avatarStephan Gerhold <stephan.gerhold@linaro.org>
Tested-by: Stephan Gerhold <stephan.gerhold@linaro.org> # msm8939
Link: https://lore.kernel.org/r/20250421-fix-qcom-smd-v1-2-574d071d3f27@mainlining.org


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 4d7ee0e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment