mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
staging: comedi: dt282x: remove disable code that disables the irq
The code that would disable the irq after getting a number of D/A errors is disabled. Just remove it. 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>
This commit is contained in:
parent
d3ea1818f3
commit
427f35222e
1 changed files with 0 additions and 7 deletions
|
|
@ -479,13 +479,6 @@ static irqreturn_t dt282x_interrupt(int irq, void *d)
|
|||
handled = 1;
|
||||
}
|
||||
if (dacsr & DT2821_DAERR) {
|
||||
#if 0
|
||||
static int warn = 5;
|
||||
if (--warn <= 0) {
|
||||
disable_irq(dev->irq);
|
||||
printk(KERN_INFO "disabling irq\n");
|
||||
}
|
||||
#endif
|
||||
comedi_error(dev, "D/A error");
|
||||
dt282x_ao_cancel(dev, s_ao);
|
||||
s->async->events |= COMEDI_CB_ERROR;
|
||||
|
|
|
|||
Loading…
Reference in a new issue