greybus: connection: Destroy wq on failure
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 13 Aug 2015 05:05:29 +0000 (10:35 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 14 Aug 2015 02:19:31 +0000 (19:19 -0700)
commit22322c474551c208625d3b95ffba39b1882fa645
tree5a188a6a2bbd9fec9e3dd9f6976ac70c7ce794b6
parentd65e3a22aa3ef28f068cdc38ac82f3e1914cde9a
greybus: connection: Destroy wq on failure

Need to destroy the wq created earlier, do it.

Fixes: d0f1778a6b67 ("greybus/connection: add a timestamp kfifo to track connection handoff")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c