Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92033
b: refs/heads/master
c: f082481
h: refs/heads/master
i:
  92031: 61064a1
v: v3
  • Loading branch information
Takashi Iwai committed Apr 24, 2008
1 parent 7b1f9d8 commit 73ec1fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 937b416027d8f79d7b37bb63b6585ea8fdf125de
refs/heads/master: f0824812af1bf4f7d27e054a2ca2686385d770bb
5 changes: 4 additions & 1 deletion trunk/sound/pci/hda/patch_analog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,10 @@ static int ad1981_hp_master_sw_put(struct snd_kcontrol *kcontrol,

if (! ad198x_eapd_put(kcontrol, ucontrol))
return 0;

/* change speaker pin appropriately */
snd_hda_codec_write(codec, 0x05, 0,
AC_VERB_SET_PIN_WIDGET_CONTROL,
spec->cur_eapd ? PIN_OUT : 0);
/* toggle HP mute appropriately */
snd_hda_codec_amp_stereo(codec, 0x06, HDA_OUTPUT, 0,
HDA_AMP_MUTE,
Expand Down

0 comments on commit 73ec1fc

Please sign in to comment.