ALSA: hda - Fix missing init for unsol events on micsense model
authorTakashi Iwai <tiwai@suse.de>
Sat, 12 Jul 2008 10:04:05 +0000 (12:04 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 14 Jul 2008 07:00:37 +0000 (09:00 +0200)
Fixed the missing initialization for unsolicited events on
Cx5045 micsense model.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/patch_conexant.c

index 71c4072c92665c1ecacf1b62a4d407e8e89d869c..8295994665e7181a43da2522d3e4ae8b598d07a0 100644 (file)
@@ -962,6 +962,7 @@ static int patch_cxt5045(struct hda_codec *codec)
                codec->patch_ops.init = cxt5045_init;
                break;
        case CXT5045_LAPTOP_MICSENSE:
+               codec->patch_ops.unsol_event = cxt5045_hp_unsol_event;
                spec->input_mux = &cxt5045_capture_source;
                spec->num_init_verbs = 2;
                spec->init_verbs[1] = cxt5045_mic_sense_init_verbs;