Update of /cvsroot/alsa/alsa-kernel/pci/ice1712
In directory sc8-pr-cvs1:/tmp/cvs-serv22740
Modified Files:
ice1724.c
Log Message:
fixed the rate locking bug: the rate locking couldn't be changed any more
once if iec958 input is chosen.
Index: ice1724.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/ice1724.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ice1724.c 10 Sep 2003 16:26:26 -0000 1.17
+++ ice1724.c 10 Sep 2003 18:01:16 -0000 1.18
@@ -382,11 +382,6 @@
return;
}
- if (rate == ice->cur_rate) {
- spin_unlock_irqrestore(&ice->reg_lock, flags);
- return;
- }
-
switch (rate) {
case 8000: val = 6; break;
case 9600: val = 3; break;
@@ -409,6 +404,11 @@
break;
}
outb(val, ICEMT1724(ice, RATE));
+ if (rate == ice->cur_rate) {
+ spin_unlock_irqrestore(&ice->reg_lock, flags);
+ return;
+ }
+
ice->cur_rate = rate;
/* check MT02 */
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog