greybus: interface: implement interface activation and power down
authorJohan Hovold <johan@hovoldconsulting.com>
Sat, 23 Apr 2016 16:47:29 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 25 Apr 2016 18:08:30 +0000 (11:08 -0700)
commitec562f28a7de6a4a4c3f790e5cfb5e61e97419b5
tree717f36fb8e60aa2c468a2e9a9e5982132da4e9fb
parent1e8e22b5cb462e9c4da9c988b3355565cdef1d34
greybus: interface: implement interface activation and power down

Implement the interface activation and power-down sequences.

Note that all the required SVC operations have not yet been implemented
so some stub functions are used for now.

Support for hibernating the UniPro link depends on future
power-management work so a stub function is used also for this.

Interface type handling will be refined later.

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