greybus: fw-core: destroy connections on error
commit825f79ae7620fa98586c4d2504030eca96d55c59
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 19 May 2016 12:57:25 +0000 (19 18:27 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 20 May 2016 23:36:43 +0000 (20 16:36 -0700)
tree5ce96e9395ffa41385871a8edf7de970711e43a8
parent4aea5a15ad6d8fbd9d344a84c0396176e7512d3d
greybus: fw-core: destroy connections on error

In one of the error cases we aren't destroying the connections created
earlier. Fix it.

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