Commit 837a1264 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: das800: 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 05664aa4
...@@ -521,7 +521,7 @@ static irqreturn_t das800_interrupt(int irq, void *d) ...@@ -521,7 +521,7 @@ static irqreturn_t das800_interrupt(int irq, void *d)
if (fifo_overflow) { if (fifo_overflow) {
spin_unlock_irqrestore(&dev->spinlock, irq_flags); spin_unlock_irqrestore(&dev->spinlock, irq_flags);
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 IRQ_HANDLED; return IRQ_HANDLED;
} }
...@@ -537,7 +537,7 @@ static irqreturn_t das800_interrupt(int irq, void *d) ...@@ -537,7 +537,7 @@ static irqreturn_t das800_interrupt(int irq, void *d)
das800_disable(dev); das800_disable(dev);
async->events |= COMEDI_CB_EOA; async->events |= COMEDI_CB_EOA;
} }
cfc_handle_events(dev, s); comedi_handle_events(dev, s);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
......
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