diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-08-10 12:58:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-08-11 14:13:07 +0200 |
commit | 0e7cd0d259890f21d13171d5798eed24a03903dc (patch) | |
tree | 21d1a9711e5108d280f910289069a40c2155f0d0 | |
parent | a9dc1cf5b7b5ce8183249c2229ae0ab849525e37 (diff) |
greybus: hd/es2: add cport_quiesce callback and ARPC
Add a host-device cport_quiesce callback, which will be called as part
of the new connection tear-down sequence to disable flow control after
first making sure that enough peer buffer space is available for the
next messages about to be sent.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Sandeep Patil <sspatil@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
-rw-r--r-- | drivers/staging/greybus/arpc.h | 7 | ||||
-rw-r--r-- | drivers/staging/greybus/es2.c | 30 | ||||
-rw-r--r-- | drivers/staging/greybus/hd.h | 2 |
3 files changed, 39 insertions, 0 deletions
diff --git a/drivers/staging/greybus/arpc.h b/drivers/staging/greybus/arpc.h |