greybus: control: make disconnecting a core operation
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 10 Aug 2016 10:58:46 +0000 (12:58 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 11 Aug 2016 12:13:07 +0000 (14:13 +0200)
commit9f77b80fdfeb72bdecf7855bb526ef14b6ed2ba8
treea8edd6226a70724eb182d30971f4d4bd550550a3
parent8f71a975d4150abf8ab1fbea65b51e73ff9936d6
greybus: control: make disconnecting a core operation

Make the control-protocol disconnecting operation a "core" operation.

This is needed to be able to use the operation in the new connection
tear-down sequence of control connections, which moves disconnecting
after the flush barrier.

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