greybus: interface: disable interface on registration failures
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 13 Apr 2016 17:19:00 +0000 (19:19 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 Apr 2016 01:06:00 +0000 (10:06 +0900)
commita530a8be395ff2df384ca729013890f3f040cf99
tree4b2f15f815dbc8f24fcbbdfe367eac4f9e35c06c
parent078ef067bca6725ab71c0c8d58112ae66097062f
greybus: interface: disable interface on registration failures

Disable and deactivate an interface immediately on registration
failures.

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