linux-stable/drivers/mailbox
morten petersen df41a0872f mailbox: handle failed named mailbox channel request
[ Upstream commit 25777e5784 ]

Previously, if mbox_request_channel_byname was used with a name
which did not exist in the "mbox-names" property of a mailbox
client, the mailbox corresponding to the last entry in the
"mbox-names" list would be incorrectly selected.
With this patch, -EINVAL is returned if the named mailbox is
not found.

Signed-off-by: Morten Borup Petersen <morten_bp@live.dk>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-31 07:28:55 +02:00
..
arm_mhu.c
bcm-flexrm-mailbox.c mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue 2019-03-23 14:35:15 +01:00
bcm-pdc-mailbox.c mailbox: bcm-pdc: Add Northstar Plus support to PDC driver 2017-03-28 23:27:56 +05:30
bcm2835-mailbox.c
hi6220-mailbox.c
Kconfig mailbox: Introduce Qualcomm APCS IPC driver 2017-06-14 17:47:19 +05:30
mailbox-altera.c
mailbox-sti.c
mailbox-test.c mailbox: mailbox-test: don't rely on rx_buffer content to signal data ready 2017-12-14 09:53:12 +01:00
mailbox-xgene-slimpro.c mailbox: xgene-slimpro: Fix potential NULL pointer dereference 2018-09-09 19:55:54 +02:00
mailbox.c mailbox: handle failed named mailbox channel request 2019-07-31 07:28:55 +02:00
mailbox.h
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap-mailbox.c
pcc.c mailbox: pcc: Drop uninformative output during boot 2017-08-10 01:33:01 +02:00
pl320-ipc.c
platform_mhu.c
qcom-apcs-ipc-mailbox.c mailbox: Introduce Qualcomm APCS IPC driver 2017-06-14 17:47:19 +05:30
rockchip-mailbox.c
tegra-hsp.c
ti-msgmgr.c