diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-07 10:02:39 -0800 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-07 10:02:39 -0800 | 
| commit | e1aa17c7b52c2cc1a4c20f62deadcd94ce8b632c (patch) | |
| tree | 57d0df1b5c2a543876505675c5bd6de774601594 /sound/pci/hda/patch_analog.c | |
| parent | 3bf7706b159d194430ded9fc064b3e114f503d7f (diff) | |
| parent | e805ca8b0a9b6c91099c0eaa4b160a1196a4ae25 (diff) | |
Merge tag 'sound-3.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai:
 "Just a few device-specific quirks for HD-audio and USB-audio, most of
  which are one-liners"
* tag 'sound-3.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
  ALSA: usb-audio: Add quirk for Logitech Webcam C500
  ALSA: hda - Use analog beep for Thinkpads with AD1984 codecs
  ALSA: hda - Add missing loopback merge path for AD1884/1984 codecs
  ALSA: hda - add automute fix for another dell AIO model
  ALSA: hda - Added inverted digital-mic handling for Acer TravelMate 8371
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
| -rw-r--r-- | sound/pci/hda/patch_analog.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index df3652ad15ef..8ed0bcc01386 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c @@ -1026,6 +1026,9 @@ static void ad1884_fixup_thinkpad(struct hda_codec *codec,  		spec->gen.keep_eapd_on = 1;  		spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook;  		spec->eapd_nid = 0x12; +		/* Analog PC Beeper - allow firmware/ACPI beeps */ +		spec->beep_amp = HDA_COMPOSE_AMP_VAL(0x20, 3, 3, HDA_INPUT); +		spec->gen.beep_nid = 0; /* no digital beep */  	}  } @@ -1092,6 +1095,7 @@ static int patch_ad1884(struct hda_codec *codec)  	spec = codec->spec;  	spec->gen.mixer_nid = 0x20; +	spec->gen.mixer_merge_nid = 0x21;  	spec->gen.beep_nid = 0x10;  	set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); | 
