staging: comedi: ni_atmio16d: remove printk() noise in atmio16d_ai_insn_read()
These printk messages are just added noise. Remove them. 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
2f4a269b27
commit
d4bdba2f60
|
@ -495,18 +495,13 @@ static int atmio16d_ai_insn_read(struct comedi_device *dev,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (status & STAT_AD_OVERFLOW) {
|
if (status & STAT_AD_OVERFLOW) {
|
||||||
printk(KERN_INFO "atmio16d: a/d FIFO overflow\n");
|
|
||||||
outw(0, dev->iobase + AD_CLEAR_REG);
|
outw(0, dev->iobase + AD_CLEAR_REG);
|
||||||
|
|
||||||
return -ETIME;
|
return -ETIME;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* end waiting, now check if it timed out */
|
/* end waiting, now check if it timed out */
|
||||||
if (t == ATMIO16D_TIMEOUT) {
|
if (t == ATMIO16D_TIMEOUT)
|
||||||
printk(KERN_INFO "atmio16d: timeout\n");
|
|
||||||
|
|
||||||
return -ETIME;
|
return -ETIME;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return i;
|
return i;
|
||||||
|
|
Loading…
Reference in New Issue