summaryrefslogtreecommitdiffstats
path: root/drivers/slimbus/core.c
diff options
context:
space:
mode:
authormorten petersen2019-07-08 13:41:54 +0200
committerJassi Brar2019-07-11 17:19:00 +0200
commit25777e5784a7b417967460d4fcf9660d05a0c320 (patch)
tree32c1907c42d49311df76a110e23111aeabcef2f6 /drivers/slimbus/core.c
parentmailbox: tegra: avoid resume NULL mailboxes (diff)
downloadkernel-qcow2-linux-25777e5784a7b417967460d4fcf9660d05a0c320.tar.gz
kernel-qcow2-linux-25777e5784a7b417967460d4fcf9660d05a0c320.tar.xz
kernel-qcow2-linux-25777e5784a7b417967460d4fcf9660d05a0c320.zip
mailbox: handle failed named mailbox channel request
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>
Diffstat (limited to 'drivers/slimbus/core.c')
0 files changed, 0 insertions, 0 deletions