greybus: control: implement mode-switch operation
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 29 Apr 2016 15:08:34 +0000 (17:08 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 29 Apr 2016 21:27:05 +0000 (14:27 -0700)
commit1c3aead12ea4df73b7ae552aa4f4e83bc1f0baa6
treee825ab4fc87413154d501d4e86ec8d5204aac85d
parent5fdc027d5441aecb94ce44de0402bdec3a731de8
greybus: control: implement mode-switch operation

Implement the unidirectional mode-switch operation.

This operation will be used in the implementation of the new generic
mode-switch functionality.

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