提交 fe43b8f5 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

staging: comedi: das1800: use comedi_handle_events()

cfc_handle_events() is just a wrapper around comedi_handle_events().
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: NIan Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 837a1264
...@@ -656,7 +656,7 @@ static void das1800_ai_handler(struct comedi_device *dev) ...@@ -656,7 +656,7 @@ static void das1800_ai_handler(struct comedi_device *dev)
outb(CLEAR_INTR_MASK & ~OVF, dev->iobase + DAS1800_STATUS); outb(CLEAR_INTR_MASK & ~OVF, dev->iobase + DAS1800_STATUS);
dev_err(dev->class_dev, "FIFO overflow\n"); dev_err(dev->class_dev, "FIFO overflow\n");
async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA; async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
cfc_handle_events(dev, s); comedi_handle_events(dev, s);
return; return;
} }
/* stop taking data if appropriate */ /* stop taking data if appropriate */
...@@ -674,7 +674,7 @@ static void das1800_ai_handler(struct comedi_device *dev) ...@@ -674,7 +674,7 @@ static void das1800_ai_handler(struct comedi_device *dev)
async->events |= COMEDI_CB_EOA; async->events |= COMEDI_CB_EOA;
} }
cfc_handle_events(dev, s); comedi_handle_events(dev, s);
} }
static int das1800_ai_poll(struct comedi_device *dev, static int das1800_ai_poll(struct comedi_device *dev,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册