greybus: interface: deactivate interface on enumeration failure
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 29 Mar 2016 22:56:05 +0000 (18:56 -0400)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 30 Mar 2016 21:23:19 +0000 (14:23 -0700)
commit984c9d38ae370993f28b36c8be9923b1de39f5e7
treed71f2b27bcae7bd43652507000fc871a055f6f7f
parent4d5f6218886e5d363cf41af5c5a51045f2722e50
greybus: interface: deactivate interface on enumeration failure

Deactivate an interface immediately on enumeration failure.

Note that an interface is always registered.

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