trusty-ipc: Add support for default Trusty IPC device
authorMichael Ryleev <gmar@google.com>
Thu, 30 Jul 2015 19:50:08 +0000 (12:50 -0700)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 2 Dec 2016 18:43:41 +0000 (10:43 -0800)
commita5424fc1dc65270964b2bf3d78de4254642f3ef7
tree8a59e5a7af36ebc19e755d423bb5e526c0d94f72
parentf07dfa19e29ee078da0f1494b038cff8e947b2fd
trusty-ipc: Add support for default Trusty IPC device

If particular Trusty IPC device to operate on is not
important caller can pass NULL for dev parameter to
tipc_create_channel routine to access default Trusty IPC
device.

Bug 1818826

Change-Id: Ib35f44f87ee9d71f827263c6a667a5852d4286e6
Signed-off-by: Michael Ryleev <gmar@google.com>
(cherry picked from commit 78dd8a2878e3e7cf8d5fa998eea47a54bcb848b3 from https://android.googlesource.com/kernel/common/+/android-trusty-3.10)
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-on: http://git-master/r/1255190
(cherry picked from commit 4a2adf1b31dbb404b9276ed3772fa749fc7ead3b in dev-kernel-3.10)
Reviewed-on: http://git-master/r/1257371
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/trusty/trusty-ipc.c