linux-yocto/drivers/mailbox
Tudor Ambarus d8aea4921f mailbox: use error ret code of of_parse_phandle_with_args()
[ Upstream commit 24fdd5074b ]

In case of error, of_parse_phandle_with_args() returns -EINVAL when the
passed index is negative, or -ENOENT when the index is for an empty
phandle. The mailbox core overwrote the error return code with a less
precise -ENODEV. Use the error returned code from
of_parse_phandle_with_args().

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:03 +02:00
..
apple-mailbox.c
arm_mhu_db.c
arm_mhu.c
arm_mhuv2.c mailbox: arm_mhuv2: clean up loop in get_irq_chan_comb() 2024-12-14 19:53:43 +01:00
armada-37xx-rwtm-mailbox.c
bcm-flexrm-mailbox.c
bcm-pdc-mailbox.c
bcm2835-mailbox.c mailbox: bcm2835: Fix timeout during suspend mode 2024-10-17 15:21:30 +02:00
hi3660-mailbox.c
hi6220-mailbox.c
imx-mailbox.c
Kconfig
mailbox-altera.c
mailbox-mpfs.c
mailbox-sti.c
mailbox-test.c
mailbox-xgene-slimpro.c
mailbox.c mailbox: use error ret code of of_parse_phandle_with_args() 2025-06-04 14:40:03 +02:00
mailbox.h
Makefile
mtk-adsp-mailbox.c
mtk-cmdq-mailbox.c mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable() 2024-12-14 19:53:54 +01:00
omap-mailbox.c
pcc.c
pl320-ipc.c
platform_mhu.c
qcom-apcs-ipc-mailbox.c
qcom-ipcc.c mailbox: qcom-ipcc: fix incorrect num_chans counting 2023-09-19 12:27:58 +02:00
rockchip-mailbox.c mailbox: rockchip: fix a typo in module autoloading 2024-10-17 15:21:30 +02:00
sprd-mailbox.c
stm32-ipcc.c
sun6i-msgbox.c
tegra-hsp.c mailbox: tegra-hsp: Clear mailbox before using message 2025-02-21 13:49:51 +01:00
ti-msgmgr.c mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0 2023-07-19 16:22:03 +02:00
zynqmp-ipi-mailbox.c