greybus: hd: add optional cport enable and disable callbacks
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 17 Sep 2015 11:17:26 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 17 Sep 2015 21:35:47 +0000 (14:35 -0700)
commitd7ea30a57145d13a6e74c90e4f7277cb8705bcc1
treec3e886cd571f61c95f945d9947c82fc2db1c01e0
parent2846d3ed2e5608bcdb773cf308af7fabbfcb663e
greybus: hd: add optional cport enable and disable callbacks

Add optional cport enable and disable callbacks to the greybus host
drivers, that can be used to initialise and allocate/release resources
associated with a cport during connection setup/teardown (e.g. software
queues and hardware state).

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