Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305607
b: refs/heads/master
c: b46ac30
h: refs/heads/master
i:
  305605: e464db4
  305603: 365723b
  305599: 8b334ef
v: v3
  • Loading branch information
Fabio Estevam authored and Mark Brown committed Apr 10, 2012
1 parent 6f2cb95 commit 243475c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8127bf5529f6a42d20e9e3613643d149e4dbb697
refs/heads/master: b46ac308bf4f675cac9caf63c2de22f2a18f9347
2 changes: 2 additions & 0 deletions trunk/sound/soc/codecs/wm9712.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ static int ac97_prepare(struct snd_pcm_substream *substream,
struct snd_soc_codec *codec = dai->codec;
int reg;
u16 vra;
struct snd_pcm_runtime *runtime = substream->runtime;

vra = ac97_read(codec, AC97_EXTENDED_STATUS);
ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1);
Expand All @@ -487,6 +488,7 @@ static int ac97_aux_prepare(struct snd_pcm_substream *substream,
{
struct snd_soc_codec *codec = dai->codec;
u16 vra, xsle;
struct snd_pcm_runtime *runtime = substream->runtime;

vra = ac97_read(codec, AC97_EXTENDED_STATUS);
ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1);
Expand Down

0 comments on commit 243475c

Please sign in to comment.