]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
mailbox: Add get_max_txsize() to mbox_chan_ops
authorAkhilesh Reddy Khumbum <akhumbum@nvidia.com>
Wed, 21 Jun 2017 19:23:55 +0000 (12:23 -0700)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 30 Jun 2017 18:54:13 +0000 (11:54 -0700)
commitdd3456283420c4d81a7e6685fb76f360ab7f5601
tree8d133d7de7dd94150c6c430f77382b2c2ed3a8eb
parent70616758bfb7662b055b98aab4429a65e2b70272
mailbox: Add get_max_txsize() to mbox_chan_ops

Add mbox_get_max_txsize() API to the mailbox client API's as
currently there is no provision for the client to get the max
tx message size that can be sent. This API queries the controller
driver and returns the max tx message size.

Bug 200278347

Change-Id: I533f9d137c7eba473b9004ad1000fb85b50c33d7
Signed-off-by: Akhilesh Reddy Khumbum <akhumbum@nvidia.com>
Reviewed-on: https://git-master/r/1511159
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Rohit Vaswani <rvaswani@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/mailbox/mailbox.c
include/linux/mailbox_client.h
include/linux/mailbox_controller.h