]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: operation: add helper to retrieve max payload size
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 May 2015 09:22:46 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 May 2015 05:52:03 +0000 (22:52 -0700)
commitd52b35f6b62c8b9e1b7e10010daa0370f8252f1d
tree48c07e6a9c3fb195b2d6dbdc92a18883e2dcb8f7
parent8e929a8230794c4b034d0f4b658aa03702f3800d
greybus: operation: add helper to retrieve max payload size

Add helper to retrieve the maximum payload size for operations on a
specific connection.

Note that the helper is not inlined due to how the header files are
currently organised, but it is not expected to be called after a
connection has been initialised either.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.h