Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1:/tmp/cvs-serv28379
Modified Files: via82xx.c Log Message: fixed the bug in the check of sample rate in the multi playback mode. Index: via82xx.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- via82xx.c 3 Mar 2003 16:57:59 -0000 1.34 +++ via82xx.c 26 Mar 2003 17:06:20 -0000 1.35 @@ -843,12 +843,11 @@ int changed = 0; spin_lock(&rec->lock); - if (rec->rate) { - if (rec->rate != rate && rec->used > 1) { + if (rec->rate != rate) { + if (rec->rate && rec->used > 1) { /* already set */ spin_unlock(&rec->lock); return -EINVAL; } - } else { rec->rate = rate; changed = 1; } ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog