Update of /cvsroot/alsa/alsa-kernel/pci/ac97
In directory sc8-pr-cvs1:/tmp/cvs-serv10909
Modified Files:
ac97_codec.c
Log Message:
- don't break the probing even when ac97_reset_wait() returns error.
in many cases, it's not critical (e.g. SB audigy).
Index: ac97_codec.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_codec.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- ac97_codec.c 24 Nov 2003 08:02:10 -0000 1.115
+++ ac97_codec.c 3 Dec 2003 17:25:55 -0000 1.116
@@ -1740,9 +1740,8 @@
udelay(50);
if (ac97_reset_wait(ac97, HZ/2, 0) < 0 &&
ac97_reset_wait(ac97, HZ/2, 1) < 0) {
- snd_printk(KERN_ERR "AC'97 %d does not respond - RESET\n",
ac97->num);
- snd_ac97_free(ac97);
- return -ENXIO;
+ snd_printk(KERN_WARNING "AC'97 %d does not respond - RESET\n",
ac97->num);
+ /* proceed anyway - it's often non-critical */
}
}
__access_ok:
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog