greybus: control: add bundle-version operation
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jan 2016 11:51:21 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jan 2016 20:17:13 +0000 (12:17 -0800)
commitb807aa7aa51129b1754e7d17f6a2e30e3c6f7a4b
tree7cef4e9e6ff0e64a5a9f223396eb272064e82d52
parent96a9b9b0eb2c5b9626bdad02c057fb22f133fc86
greybus: control: add bundle-version operation

Add bundle-version operation to fetch the version of the bundle class.

Retrieve the bundle version of all bundles when initialising the
interface in case the control-protocol version is greater than 0.1.

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/bundle.h
drivers/staging/greybus/control.c
drivers/staging/greybus/control.h
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/interface.c