Skip to content

Commit

Permalink
staging: comedi: das800: 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 05664aa commit 837a126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/comedi/drivers/das800.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ static irqreturn_t das800_interrupt(int irq, void *d)
if (fifo_overflow) {
spin_unlock_irqrestore(&dev->spinlock, irq_flags);
async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
cfc_handle_events(dev, s);
comedi_handle_events(dev, s);
return IRQ_HANDLED;
}

Expand All @@ -537,7 +537,7 @@ static irqreturn_t das800_interrupt(int irq, void *d)
das800_disable(dev);
async->events |= COMEDI_CB_EOA;
}
cfc_handle_events(dev, s);
comedi_handle_events(dev, s);
return IRQ_HANDLED;
}

Expand Down

0 comments on commit 837a126

Please sign in to comment.