Skip to content

Commit

Permalink
staging: comedi: das1800: use comedi_handle_events()
Browse files Browse the repository at this point in the history
cfc_handle_events() is just a wrapper around comedi_handle_events().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 20, 2014
1 parent 837a126 commit fe43b8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/comedi/drivers/das1800.c
Original file line number Diff line number Diff line change
@@ -656,7 +656,7 @@ static void das1800_ai_handler(struct comedi_device *dev)
outb(CLEAR_INTR_MASK & ~OVF, dev->iobase + DAS1800_STATUS);
dev_err(dev->class_dev, "FIFO overflow\n");
async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
cfc_handle_events(dev, s);
comedi_handle_events(dev, s);
return;
}
/* stop taking data if appropriate */
@@ -674,7 +674,7 @@ static void das1800_ai_handler(struct comedi_device *dev)
async->events |= COMEDI_CB_EOA;
}

cfc_handle_events(dev, s);
comedi_handle_events(dev, s);
}

static int das1800_ai_poll(struct comedi_device *dev,

0 comments on commit fe43b8f

Please sign in to comment.