]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: greybus: make cport_quiesce() method optional
authorAlexandre Bailon <abailon@baylibre.com>
Sun, 26 Mar 2017 16:58:23 +0000 (18:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 11:27:15 +0000 (13:27 +0200)
commit2e2fd6be427547143356a3f0faf1e5247c86c6a0
tree288e5caad71152353fd7795d3fd4be329a322e3f
parent4064771da8d10118075abdcd4b1c70144ac975b7
staging: greybus: make cport_quiesce() method optional

The cport_quiesce() method is mandatory in the case of
the es2 Greybus hd controller to shutdown the cports on
the es2 controller.
In order to add support of another controller which may not
need to shutdown its cports, make the cport_quiesce() optional,
and check if the controller implement it before to use it.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/connection.c