Commit 62fc6407 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: cb_pcidas64: use comedi_handle_events()

cfc_handle_events() is just a wrapper around comedi_handle_events().
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f923f780
...@@ -2836,7 +2836,7 @@ static void handle_ai_interrupt(struct comedi_device *dev, ...@@ -2836,7 +2836,7 @@ static void handle_ai_interrupt(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 inline unsigned int prev_ao_dma_index(struct comedi_device *dev) static inline unsigned int prev_ao_dma_index(struct comedi_device *dev)
...@@ -3020,7 +3020,7 @@ static void handle_ao_interrupt(struct comedi_device *dev, ...@@ -3020,7 +3020,7 @@ static void handle_ao_interrupt(struct comedi_device *dev,
if (ao_stopped_by_error(dev, cmd)) if (ao_stopped_by_error(dev, cmd))
async->events |= COMEDI_CB_ERROR; async->events |= COMEDI_CB_ERROR;
} }
cfc_handle_events(dev, s); comedi_handle_events(dev, s);
} }
static irqreturn_t handle_interrupt(int irq, void *d) static irqreturn_t handle_interrupt(int irq, void *d)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment