From ed40adb20a322e7470a743f59ff63e55e80b96fe Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 30 Aug 2002 22:23:50 +0000 Subject: [PATCH] Allocate 4*PAGE_SIZE for write space instead of 2 pages --- comedi/drivers/ni_mio_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 559d4ef9..228775f3 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -784,7 +784,7 @@ static void ni_ai_setup_MITE_dma(comedi_device *dev,comedi_cmd *cmd) comedi_subdevice *s = dev->subdevices + 0; /* mark 2 pages as being under DMA control */ - comedi_buf_write_alloc(s->async, 2*PAGE_SIZE); + comedi_buf_write_alloc(s->async, 4*PAGE_SIZE); mite->current_link = 0; mite->chan = 0; -- 2.26.2