From: Jaroslav Kysela Date: Mon, 16 Mar 2009 13:56:58 +0000 (+0100) Subject: ALSA: snd-hda-intel: Fix ALC662/ALC663 Beep Amplifier Index X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b8dbed0f095263b9ced5bd2e6d54743a7fa13f1b;p=linux-2.6-omap-h63xx.git ALSA: snd-hda-intel: Fix ALC662/ALC663 Beep Amplifier Index ALC662/663 codecs have Beep Amplifier Index 0x04 not 0x05 in 0x0b NID. Confirmed by testing on real hardware. Signed-off-by: Jaroslav Kysela Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index b794cba494c..672103d84ff 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -16951,7 +16951,7 @@ static int patch_alc662(struct hda_codec *codec) if (!spec->cap_mixer) set_capture_mixer(spec); - set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT); + set_beep_amp(spec, 0x0b, 0x04, HDA_INPUT); spec->vmaster_nid = 0x02;