Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81607
b: refs/heads/master
c: 3c1c47e
h: refs/heads/master
i:
  81605: ef9c2ae
  81603: 88f065f
  81599: ac1f82a
v: v3
  • Loading branch information
Liam Girdwood authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 7950088 commit 69acc66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7a4ac86b4754f44eb06221f3087debb4775d588
refs/heads/master: 3c1c47e0eb92264d555003ee2003f836e432615b
8 changes: 8 additions & 0 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,14 @@ static void close_delayed_work(struct work_struct *work)
/* are we waiting on this codec DAI stream */
if (codec_dai->pop_wait == 1) {

/* power down the codec to D1 if no longer active */
if (codec->active == 0) {
dbg("pop wq D1 %s %s\n", codec->name,
codec_dai->playback.stream_name);
snd_soc_dapm_device_event(socdev,
SNDRV_CTL_POWER_D1);
}

codec_dai->pop_wait = 0;
snd_soc_dapm_stream_event(codec,
codec_dai->playback.stream_name,
Expand Down

0 comments on commit 69acc66

Please sign in to comment.