Files
Tudor Ambarus 3531ead00c 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-05-29 11:12:25 +02:00
..
2024-05-19 22:30:09 -05:00
2025-01-18 16:18:48 -06:00
2025-01-18 16:18:48 -06:00