greybus: core: add lower-limit for host-device buffers
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 May 2015 09:22:45 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 May 2015 05:52:03 +0000 (22:52 -0700)
commit8e929a8230794c4b034d0f4b658aa03702f3800d
tree4bffa1a3165d2dbf654d70796ac7d1da343fe7e0
parentc38cf10bbe35ba6fa10437809585fd4d0b3b604d
greybus: core: add lower-limit for host-device buffers

Make sure we never end up with a host device with maximum buffer size
smaller than the shortest Greybus message.

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