greybus: svc: flush workqueue at connection exit
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 3 Dec 2015 16:29:00 +0000 (17:29 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 3 Dec 2015 23:38:54 +0000 (15:38 -0800)
commit1cacb456fd6b5fd99f0274bef2b2d04b5f259392
tree730ed7df0b32628574bd03559cfbd3cb9bea12ab
parent8e1d6c336d74977403b0d7ca81e1e9a098518ff0
greybus: svc: flush workqueue at connection exit

Make sure to flush the workqueue from hotplug and hotunplug events when
the svc connection is tore down.

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