Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6bc9685796529754acd819d9c979227d823c408d Commit: 6bc9685796529754acd819d9c979227d823c408d Parent: 7583cb51a1e276591f57a2fae05489c878f8ef54 Author: Takashi Iwai <[EMAIL PROTECTED]> AuthorDate: Fri Aug 17 09:02:12 2007 +0200 Committer: Jaroslav Kysela <[EMAIL PROTECTED]> CommitDate: Tue Oct 16 15:59:14 2007 +0200
[ALSA] hda-codec - Fix ALC268 acer model ALC268 has different NIDs from ALC262. Acer model should use NID 0x02 and 0x03 instead of 0x0c and 0x0d for the master volume. Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]> Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]> --- sound/pci/hda/patch_realtek.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index e82b03a..4a40a05 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8418,7 +8418,16 @@ static struct hda_verb alc268_toshiba_verbs[] = { }; /* Acer specific */ -#define alc268_acer_bind_master_vol alc262_fujitsu_bind_master_vol +/* bind volumes of both NID 0x0c and 0x0d */ +static struct hda_bind_ctls alc268_acer_bind_master_vol = { + .ops = &snd_hda_bind_vol, + .values = { + HDA_COMPOSE_AMP_VAL(0x02, 3, 0, HDA_OUTPUT), + HDA_COMPOSE_AMP_VAL(0x03, 3, 0, HDA_OUTPUT), + 0 + }, +}; + #define alc268_acer_master_sw_put alc262_fujitsu_master_sw_put #define alc268_acer_automute alc262_fujitsu_automute - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html