Update of /cvsroot/alsa/alsa-kernel/pci In directory usw-pr-cvs1:/tmp/cvs-serv26313
Modified Files: intel8x0.c Log Message: Don't break when second codec cannot be initialized Index: intel8x0.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/intel8x0.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- intel8x0.c 5 Sep 2002 06:31:03 -0000 1.45 +++ intel8x0.c 10 Sep 2002 05:32:32 -0000 1.46 @@ -1580,8 +1580,11 @@ goto __skip_secondary; for (i = 1; i < codecs; i++) { ac97.num = i; - if ((err = snd_ac97_mixer(chip->card, &ac97, &x97)) < 0) - return err; + if ((err = snd_ac97_mixer(chip->card, &ac97, &x97)) < 0) { + snd_printk("Unable to initialize codec #%i [device = %i, +GLOB_STA = 0x%x]\n", chip->device_type, glob_sta); + codecs = i; + break; + } chip->ac97[i] = x97; if (chip->device_type == DEVICE_INTEL_ICH4 && chip->ichd[ICHD_PCM2IN].ac97 == NULL) chip->ichd[ICHD_PCM2IN].ac97 = x97; ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog