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

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