]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: interface: move interface-removal helper
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 9 Mar 2016 11:20:41 +0000 (12:20 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 10 Mar 2016 21:57:42 +0000 (13:57 -0800)
commit66d674cfafb2be4002265e6081a1580d0ea461f7
treec8746898026d2ebd5fa07c5be0bdf853e83f35be
parent64acb6611f3c17251347870e73ddc106fed807cb
greybus: interface: move interface-removal helper

Move helper to remove all interfaces of a host-device to the svc code
and call it when removing the svc device as this needs to be coordinated
with flushing the SVC work queue.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Jeffrey Carlyle <jcarlyle@google.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/interface.c
drivers/staging/greybus/interface.h
drivers/staging/greybus/svc.c