patch-2.1.75 linux/drivers/sound/dmabuf.c
Next file: linux/drivers/sound/gus_card.c
Previous file: linux/drivers/sound/dev_table.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Dec 21 17:41:24 1997
-  Orig file: 
v2.1.74/linux/drivers/sound/dmabuf.c
-  Orig date: 
Wed Dec 10 11:12:44 1997
diff -u --recursive --new-file v2.1.74/linux/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
@@ -1174,7 +1174,7 @@
 	if (!(audio_devs[dev]->flags & DMA_AUTOMODE))
 		dmap->flags &= ~DMA_ACTIVE;
 
-	while (dmap->qlen < 0)
+	while (dmap->qlen <= 0)
 	  {
 		  dmap->underrun_count++;
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov