Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353053
b: refs/heads/master
c: c4f3ebe
h: refs/heads/master
i:
  353051: 8a7634d
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent cf1753e commit 3aadacd
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 3bcce5c0d931bf623adc5974200e4d7636b10bef
refs/heads/master: c4f3ebed3c5bc59c88eb2ccda825a12686b58341
3 changes: 3 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,9 @@ static void alc_inv_dmic_sync_adc(struct hda_codec *codec, int adc_idx)
parm = AC_AMP_SET_RIGHT |
(dir == HDA_OUTPUT ? AC_AMP_SET_OUTPUT : AC_AMP_SET_INPUT);

/* flush all cached amps at first */
snd_hda_codec_resume_amp(codec);

/* we care only right channel */
val = snd_hda_codec_amp_read(codec, nid, 1, dir, 0);
if (val & 0x80) /* if already muted, we don't need to touch */
Expand Down

0 comments on commit 3aadacd

Please sign in to comment.