greybus: unlock hd mutex on free
authorAlex Elder <elder@linaro.org>
Thu, 16 Oct 2014 11:35:26 +0000 (06:35 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 17 Oct 2014 16:11:59 +0000 (18:11 +0200)
commita06df4b08cee2cd201b3cbb7ee8312ea68cc2047
tree3787d147fdbff5d3ee74566a669325b57c40ea63
parentad8cd0d643f0c3f86755a0169bb7c9597005fa8e
greybus: unlock hd mutex on free

When free_hd() is called, hd_mutex is held.  It is the
responsibility of free_hd() to drop that mutex.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/core.c