patch-2.1.43 linux/drivers/sound/dmabuf.c
Next file: linux/drivers/sound/soundcard.c
Previous file: linux/drivers/scsi/script_asm.pl
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jun 16 14:23:51 1997
- Orig file:
v2.1.42/linux/drivers/sound/dmabuf.c
- Orig date:
Wed May 28 10:51:32 1997
diff -u --recursive --new-file v2.1.42/linux/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
@@ -802,6 +802,8 @@
*/
max = dmap->max_fragments;
+ if (max > dmap->nbufs)
+ max = dmap->nbufs;
len = dmap->qlen;
if (audio_devs[dev]->d->local_qlen)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov