Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337398
b: refs/heads/master
c: 16756f7
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 30, 2012
1 parent f7d19b5 commit d8b5b19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d62bc46866d622950d6afab0d7af61ccc79b9353
refs/heads/master: 16756f7c3f0e17a3b4eedd42d8159657769cbbc8
4 changes: 0 additions & 4 deletions trunk/drivers/staging/comedi/drivers/rtd520.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ struct rtdPrivate {
void __iomem *las1;
void __iomem *lcfg;

unsigned long intCount; /* interrupt count */
long aiCount; /* total transfer size (samples) */
int transCount; /* # to transfer data. 0->1/2FIFO */
int flags; /* flag event modes */
Expand Down Expand Up @@ -630,8 +629,6 @@ static irqreturn_t rtd_interrupt(int irq, /* interrupt number (ignored) */
if (!dev->attached)
return IRQ_NONE;

devpriv->intCount++; /* DEBUG statistics */

fifoStatus = readl(devpriv->las0 + LAS0_ADC);
/* check for FIFO full, this automatically halts the ADC! */
if (!(fifoStatus & FS_ADC_NOT_FULL)) /* 0 -> full */
Expand Down Expand Up @@ -903,7 +900,6 @@ static int rtd_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
writew(devpriv->intMask, devpriv->las0 + LAS0_IT);
writel(0, devpriv->las0 + LAS0_ADC_FIFO_CLEAR);
writel(0, devpriv->las0 + LAS0_OVERRUN);
devpriv->intCount = 0;

if (!dev->irq) /* we need interrupts for this */
return -ENXIO;
Expand Down

0 comments on commit d8b5b19

Please sign in to comment.