mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
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>
This commit is contained in:
parent
7b62b61c75
commit
d7ed7cbfe6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue