[ALSA] hda-intel - Fix HDA probe_mask default
authorMatt Porter <mporter@embeddedalley.com>
Tue, 29 Nov 2005 13:46:01 +0000 (14:46 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:29:54 +0000 (12:29 +0100)
Modules: HDA Intel driver

The probe_mask module parameter comment notes that the intended
default is -1. Fix it to be so, otherwise all codecs are skipped
and init fails.

Signed-off-by: Matt Porter <mporter@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c

index 8a0a0a7..a983deb 100644 (file)
@@ -52,7 +52,7 @@ static int index = SNDRV_DEFAULT_IDX1;
 static char *id = SNDRV_DEFAULT_STR1;
 static char *model;
 static int position_fix;
-static int probe_mask;
+static int probe_mask = -1;
 
 module_param(index, int, 0444);
 MODULE_PARM_DESC(index, "Index value for Intel HD audio interface.");