greybus: connection: disable operations on enable errors
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jan 2016 11:51:05 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jan 2016 20:12:40 +0000 (12:12 -0800)
commit192bee4b1a7adbf16d12721c77d6268c76428323
treeeaa9525058a37b50fdeaa95fc8752d06d76234bc
parent520c6eae991299720bcc0668326fb1e3a4bba3ba
greybus: connection: disable operations on enable errors

Make sure to cancel all (incoming) operations when failing to enable a
connection.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c