]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: svc: create svc along with host device
authorJohan Hovold <johan@hovoldconsulting.com>
Mon, 7 Dec 2015 14:05:37 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 8 Dec 2015 20:31:14 +0000 (15:31 -0500)
commit7adeaae7132e06cd760b86576b8aefd2f0feb4d1
tree8bf02f9966a47add25d150221522cc28ea9744cf
parent2c848944c14cf9c74c298b2459cc39dc3c757f25
greybus: svc: create svc along with host device

Create svc device along with host-device and move the svc-connection to
the svc structure.

The svc connection is enabled when registering the host device, but as
the SVC protocol is currently driven by the SVC, we need to defer
registration of the svc device to the connection request handler.

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/hd.c
drivers/staging/greybus/hd.h
drivers/staging/greybus/svc.c
drivers/staging/greybus/svc.h