greybus: connection: bind protocol at init
authorJohan Hovold <johan@hovoldconsulting.com>
Mon, 7 Dec 2015 14:05:32 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 8 Dec 2015 20:31:14 +0000 (15:31 -0500)
commit30c2de77aedeb0f576356fe152e1e22c4806d239
treecf249f034619485691b7aa0633389a34f4855e57
parent74c831653309872b4a514cb27f456f20a7914173
greybus: connection: bind protocol at init

Bind protocol at connection init.

This is an intermediate step in separating connection creation and
enabling.

Note that the protocol is currently still unbound when the connection is
destroyed.

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