ALSA: hda - Add missing loopback merge path for AD1884/1984 codecs
PATCH 1/2 ALSA: hda - Add missing loopback merge path for AD1884/1984 codecs
The mixer widget (NID 0x20) of AD1884 and AD1984 codecs isn't connected directly to the actual I/O paths but only via another mixer widget (NID 0x21). We need a similar fix as we did for AD1882.
Cc <[email protected]>
Signed-off-by Takashi Iwai <[email protected]>
--- sound/pci/hda/patch_analog.c | 1 + 1 file changed, 1 insertion(+)
sound/pci/hda/patch_analog.c +1 -0
@@ -1092,6 +1092,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 );
Signature · 1 line
1.9.0
PATCH 2/2 ALSA: hda - Use analog beep for Thinkpads with AD1984 codecs
For making the driver behavior compatible with the earlier kernels, use the analog beep in the loopback path instead of the digital beep.
Cc <[email protected]>
Signed-off-by Takashi Iwai <[email protected]>
--- sound/pci/hda/patch_analog.c | 3 +++ 1 file changed, 3 insertions(+)
sound/pci/hda/patch_analog.c +3 -0
@@ -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 */ } }
Signature · 1 line
1.9.0