diff options
author | 2016-04-25 17:18:17 +0530 | |
---|---|---|
committer | 2016-04-25 10:09:45 -0700 | |
commit | d7ed7cbfe695d0a77613b305bed0483a1c9569ca (patch) | |
tree | 04a57deccb9b35dbfe8c667d30a81ea4676dcacc /drivers/staging/greybus/audio_codec.c | |
parent | greybus: arche-ctrl: Don't expose driver internals to arche-platform driver (diff) | |
download | linux-dev-d7ed7cbfe695d0a77613b305bed0483a1c9569ca.tar.xz linux-dev-d7ed7cbfe695d0a77613b305bed0483a1c9569ca.zip |
greybus: audio: acquire wakelock during active playback
This change was missed while merging original patch
commit-id: 53c765c33f4a69c31027ec012e717d303bd4feca
Thus submitting it again.
Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.c')
-rw-r--r-- | drivers/staging/greybus/audio_codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c index 9ed35c4da280..20feea1c64d3 100644 --- a/drivers/staging/greybus/audio_codec.c +++ b/drivers/staging/greybus/audio_codec.c @@ -410,6 +410,7 @@ static void gbcodec_shutdown(struct snd_pcm_substream *substream, if (list_empty(&codec->module_list)) { dev_err(codec->dev, "No codec module available\n"); mutex_unlock(&codec->lock); + pm_relax(dai->dev); return; } |