]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: connection: disconnect connection on failures during initialization
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 11 Aug 2015 02:05:56 +0000 (07:35 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 12 Aug 2015 00:48:32 +0000 (17:48 -0700)
commit186906590280c907ee497ed5e48bb94926d7b960
tree85e911ab7568d6158160122a76580760581e3798
parent0c32d2a5b2a6f284efd196d568e1df3db5999c5d
greybus: connection: disconnect connection on failures during initialization

Its possible for connection_init() to fail, in such cases the
disconnected event must be sent to the module.

It is missing currently, fix it.

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