Update of /cvsroot/alsa/alsa-kernel/pci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11539/pci

Modified Files:
        atiixp.c 
Log Message:
- continue to probe other codecs even if a codec returns error
  (instead of breaking the probing).
  this will fix some cases with both AC97 and MC97 codecs.


Index: atiixp.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/atiixp.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- atiixp.c    13 May 2004 18:40:18 -0000      1.9
+++ atiixp.c    24 May 2004 13:16:43 -0000      1.10
@@ -1,5 +1,5 @@
 /*
- *   ALSA driver for ATI IXP 150/200/250 AC97 controllers
+ *   ALSA driver for ATI IXP 150/200/250/300 AC97 controllers
  *
  *     Copyright (c) 2004 Takashi Iwai <[EMAIL PROTECTED]>
  *
@@ -1387,17 +1387,9 @@
                ac97.num = i;
                ac97.scaps = AC97_SCAP_SKIP_MODEM;
                if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) {
-                       if (chip->codec_not_ready_bits)
-                               /* codec(s) was detected but not available.
-                                * return the error
-                                */
-                               return err;
-                       else {
-                               /* codec(s) was NOT detected, so just ignore here */
-                               chip->ac97[i] = NULL; /* to be sure */
-                               snd_printd("atiixp: codec %d not found\n", i);
-                               continue;
-                       }
+                       chip->ac97[i] = NULL; /* to be sure */
+                       snd_printdd("atiixp: codec %d not available for audio\n", i);
+                       continue;
                }
                codec_count++;
        }



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to