Commit b6a1579
soc: qcom: smp2p: Fix fallback to qcom,ipc parse
mainline inclusion
from mainline-v6.16-rc1
commit 421777a
category: bugfix
bugzilla: https://atomgit.com/openeuler/kernel/issues/8365
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=421777a02bbd9cdabe0ae05a69ee06253150589d
--------------------------------
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: 24fdd50 ("mailbox: use error ret code of of_parse_phandle_with_args()")
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
Reviewed-by: Stephan 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: Bjorn Andersson <andersson@kernel.org>
(cherry picked from commit 421777a)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent c81ee29 commit b6a1579
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
562 | | - | |
| 562 | + | |
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| |||
0 commit comments