ASoC: handle mutex correctly to avoid possible deadlock

Unlock mutex in stream->device to avoid a possible deadlock
when returned from function snd_compr_drain() in error case
without unlocking the mutex.

Change-Id: I24a5af4e2eaa5fd636a6c1b1afb461bfd461617f
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c
index a098656..58e14d5 100644
--- a/sound/core/compress_offload.c
+++ b/sound/core/compress_offload.c
@@ -781,7 +781,7 @@
 	if (!retval) {
 		stream->runtime->state = SNDRV_PCM_STATE_DRAINING;
 		wake_up(&stream->runtime->sleep);
-		return retval;
+		goto ret;
 	}
 
 ret: