Commit 89e9c346 authored by Lee Jones's avatar Lee Jones Committed by Suman Anna
Browse files

mailbox: Add ability for clients to request channels by name



[ Upstream commit dfabde20 ]

This patch supplies a new framework API; mbox_request_channel_byname().

It works by supplying the usual client pointer as the first argument and
a string as the second.  The API will search the client's node for a
'mbox-names' property then request a channel in the normal way using the
requested string's index as the expected second 'index' argument.

Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
[s-anna@ti.com: cherry-pick commit 'dfabde20' from v4.2]
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
parent 077cfa4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment