]> 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)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 30 Jun 2017 01:00:10 +0000 (18:00 -0700)
commitd3037c6725aa9b8e1134c4f7ec79886b513c95de
tree2cd2b93d67b15af7491a71a5421ccde86d988b25
parentf70f2e2d15cc3a6b4887467601937b2087c0175f
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/1506865
Tested-by: Rohit Vaswani <rvaswani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
drivers/mailbox/mailbox.c
include/linux/mailbox_client.h
include/linux/mailbox_controller.h