aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorMatthew Ranostay <mranostay@embeddedalley.com>2008-02-29 06:08:20 -0500
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:19 -0400
commit52fe0f9d59cf4f5842bd319e4f212f907abd2e5d (patch)
tree8cb74be2aa10059b59989f11ae056add04aef770 /sound/pci/hda/patch_sigmatel.c
parentbce6c2b5b4dbe8cd97c48c633b62adeb535954ad (diff)
[ALSA] hda: add verbs for 92hd73xxx laptops
Added core_init[] for several 92hd73xxx laptops. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 9b242a263637..f6c02c0b1f8d 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -534,6 +534,24 @@ static struct hda_verb stac92hd73xx_6ch_core_init[] = {
534 {} 534 {}
535}; 535};
536 536
537static struct hda_verb dell_m6_core_init[] = {
538 /* set master volume and direct control */
539 { 0x1f, AC_VERB_SET_VOLUME_KNOB_CONTROL, 0xff},
540 /* setup audio connections */
541 { 0x0a, AC_VERB_SET_CONNECT_SEL, 0x00},
542 { 0x0d, AC_VERB_SET_CONNECT_SEL, 0x01},
543 { 0x0f, AC_VERB_SET_CONNECT_SEL, 0x02},
544 /* setup adcs to point to mixer */
545 { 0x20, AC_VERB_SET_CONNECT_SEL, 0x0b},
546 { 0x21, AC_VERB_SET_CONNECT_SEL, 0x0b},
547 /* setup import muxs */
548 { 0x28, AC_VERB_SET_CONNECT_SEL, 0x01},
549 { 0x29, AC_VERB_SET_CONNECT_SEL, 0x01},
550 { 0x2a, AC_VERB_SET_CONNECT_SEL, 0x01},
551 { 0x2b, AC_VERB_SET_CONNECT_SEL, 0x00},
552 {}
553};
554
537static struct hda_verb stac92hd73xx_8ch_core_init[] = { 555static struct hda_verb stac92hd73xx_8ch_core_init[] = {
538 /* set master volume and direct control */ 556 /* set master volume and direct control */
539 { 0x1f, AC_VERB_SET_VOLUME_KNOB_CONTROL, 0xff}, 557 { 0x1f, AC_VERB_SET_VOLUME_KNOB_CONTROL, 0xff},
@@ -3442,6 +3460,7 @@ again:
3442 3460
3443 switch (spec->board_config) { 3461 switch (spec->board_config) {
3444 case STAC_DELL_M6: 3462 case STAC_DELL_M6:
3463 spec->init = dell_m6_core_init;
3445 switch (codec->subsystem_id) { 3464 switch (codec->subsystem_id) {
3446 case 0x1028025e: /* Analog Mics */ 3465 case 0x1028025e: /* Analog Mics */
3447 case 0x1028025f: 3466 case 0x1028025f: