From 8f7c9925770b2136f08c13e9545c02871770c430 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 25 Jul 2002 19:57:32 +0000 Subject: [PATCH] remove usage of comedi_buf_copy_from() --- comedi/drivers/dt282x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comedi/drivers/dt282x.c b/comedi/drivers/dt282x.c index 7959efa2..46a87a8f 100644 --- a/comedi/drivers/dt282x.c +++ b/comedi/drivers/dt282x.c @@ -453,7 +453,7 @@ static void dt282x_ao_dma_interrupt(comedi_device * dev) comedi_event(dev,s,s->async->events); return; } - comedi_buf_copy_from(s->async, ptr, size); + comedi_buf_memcpy_from(s->async, 0, ptr, size); comedi_buf_read_free(s->async, size); prep_ao_dma(dev,i,size); enable_dma(devpriv->dma[i].chan); @@ -1029,7 +1029,7 @@ static int dt282x_ao_inttrig(comedi_device *dev,comedi_subdevice *s, rt_printk("dt282x: AO underrun\n"); return -EPIPE; } - comedi_buf_copy_from(s->async, devpriv->dma[0].buf, size); + comedi_buf_memcpy_from(s->async, 0, devpriv->dma[0].buf, size); comedi_buf_read_free(s->async, size); prep_ao_dma(dev,0,size); enable_dma(devpriv->dma[0].chan); @@ -1040,7 +1040,7 @@ static int dt282x_ao_inttrig(comedi_device *dev,comedi_subdevice *s, rt_printk("dt282x: AO underrun\n"); return -EPIPE; } - comedi_buf_copy_from(s->async, devpriv->dma[1].buf, size); + comedi_buf_memcpy_from(s->async, 0, devpriv->dma[1].buf, size); comedi_buf_read_free(s->async, size); prep_ao_dma(dev,1,size); enable_dma(devpriv->dma[1].chan); -- 2.26.2