hda: 92HD
PATCH 1/1 hda: 92HD
Added core_init[] for several 92hd73xxx laptops.
Signed-off-by Matthew Ranostay <[email protected]>
---
pci/hda/patch_sigmatel.c +19 -0
@@ -525,6 +525,24 @@ static struct hda_verb stac92hd73xx_6ch_ { 0x0f, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT}, { 0x10, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT}, { 0x11, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT}, +/* setup import muxs */ + { 0x28, AC_VERB_SET_CONNECT_SEL, 0x01}, + { 0x29, AC_VERB_SET_CONNECT_SEL, 0x01}, + { 0x2a, AC_VERB_SET_CONNECT_SEL, 0x01}, + { 0x2b, AC_VERB_SET_CONNECT_SEL, 0x00}, + {} +}; + +static struct hda_verb dell_m6_core_init[] = { +/* set master volume and direct control */ + {0x1f ,AC_VERB_SET_VOLUME_KNOB_CONTROL ,0xff }, +/* setup audio connections */ + {0x0a ,AC_VERB_SET_CONNECT_SEL ,0x00 }, + {0x0d ,AC_VERB_SET_CONNECT_SEL ,0x01 }, + {0x0f ,AC_VERB_SET_CONNECT_SEL ,0x02 }, +/* setup adcs to point to mixer */ + {0x20 ,AC_VERB_SET_CONNECT_SEL ,0x0b }, + {0x21 ,AC_VERB_SET_CONNECT_SEL ,0x0b },/* setup import muxs */ {0x28 ,AC_VERB_SET_CONNECT_SEL ,0x01 }, { 0x29, AC_VERB_SET_CONNECT_SEL, 0x01},
@@ -3437,6 +3455,7 @@ again:switch (spec->board_config) {case STAC_DELL_M6 : + spec->init = dell_m6_core_init;switch (codec->subsystem_id) {case 0x1028025e :/* Analog Mics */ case 0x1028025f :
Takashi Iwai
AppliedAt Thu, 28 Feb 2008 21:30:24 -0500,
Quoted 4 lines · Matthew Ranostay
Added core_init[] for several 92hd73xxx laptops.
Signed-off-by Matthew Ranostay <[email protected]>
Applied to HG tree.
(BTW, please give a bit better subject for the patch at the next time
:)
Thanks,
Takashi
Quoted 7 lines · Takashi Iwai
At Thu, 28 Feb 2008 21:30:24 -0500,
Quoted 4 lines · Matthew Ranostay
Added core_init[] for several 92hd73xxx laptops.
Signed-off-by Matthew Ranostay <[email protected]>
Quoted 8 lines
Applied to HG tree.
(BTW, please give a bit better subject for the patch at the next time
:)Thanks,
Takashi
Yeah noticed that I soon I hit send :)