greybus: svc: make sure to deactivate all interfaces on disconnect
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 13 Apr 2016 17:19:07 +0000 (19:19 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 Apr 2016 01:09:03 +0000 (10:09 +0900)
commit87a4c819a545e41eacab0de1e250173963dacbf8
tree5dbff68409be8c6d6fc4205df8bc3b93eb354fae
parent49605839bcd644016e2ec3b1534104e2cb3ce984
greybus: svc: make sure to deactivate all interfaces on disconnect

Make sure to deactivate all interfaces when the svc is going away.

This is needed to eventually be able to do controlled teardown of the
unipro network.

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/svc.c