greybus: connection: move CPort Buffer configuration out of svc helpers
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 27 May 2016 15:26:31 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 19:19:29 +0000 (12:19 -0700)
commit00ad6975e7ca131a446c3c2e6510eec39664646d
tree7e481fe2a39fe4de03a960c8fd7c4b1fb6ce09c7
parente2efe1bbc42896c4c24fec16785be5264a2d7794
greybus: connection: move CPort Buffer configuration out of svc helpers

The CPort Buffer configuration in the host-device needs to match the
CPort feature flags set by the SVC, but they need not always be
configured at the same point in time.

This will be used when implementing proper connection tear down.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c