aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-07-12 06:04:05 -0400
committerJaroslav Kysela <perex@perex.cz>2008-07-14 03:00:37 -0400
commit86376df6ad0f1a7a1118cd53b0cfd679524f5436 (patch)
tree2f26da098172c61bc366daa612a40031b3b5e2af /sound/pci
parent4090dffb1438e03a434e3747b14321440561d956 (diff)
ALSA: hda - Fix missing init for unsol events on micsense model
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>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_conexant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 71c4072c9266..8295994665e7 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -962,6 +962,7 @@ static int patch_cxt5045(struct hda_codec *codec)
962 codec->patch_ops.init = cxt5045_init; 962 codec->patch_ops.init = cxt5045_init;
963 break; 963 break;
964 case CXT5045_LAPTOP_MICSENSE: 964 case CXT5045_LAPTOP_MICSENSE:
965 codec->patch_ops.unsol_event = cxt5045_hp_unsol_event;
965 spec->input_mux = &cxt5045_capture_source; 966 spec->input_mux = &cxt5045_capture_source;
966 spec->num_init_verbs = 2; 967 spec->num_init_verbs = 2;
967 spec->init_verbs[1] = cxt5045_mic_sense_init_verbs; 968 spec->init_verbs[1] = cxt5045_mic_sense_init_verbs;