ALSA: hda - Fix the previous tagra-8ch patch
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2009 14:38:17 +0000 (16:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2009 14:38:17 +0000 (16:38 +0200)
- Fix a typo in the patch
- Adapted to follow the recent change for unsol event handling

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index cfe4808..337d2a5 100644 (file)
@@ -7726,7 +7726,7 @@ static struct hda_channel_mode alc883_3ST_6ch_modes[3] = {
  * 2ch mode
  */
 static struct hda_verb alc883_4ST_ch2_init[] = {
-       { 0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PhIN_OUT },
+       { 0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
        { 0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
        { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80 },
        { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE },
@@ -9205,7 +9205,7 @@ static struct alc_config_preset alc883_presets[] = {
                .need_dac_fix = 1,
                .input_mux = &alc883_capture_source,
                .unsol_event = alc883_tagra_unsol_event,
-               .init_hook = alc883_tagra_automute,
+               .init_hook = alc883_tagra_init_hook,
        },
        [ALC883_ACER] = {
                .mixers = { alc883_base_mixer },