Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317896
b: refs/heads/master
c: 896a64d
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jul 13, 2012
1 parent c490f0a commit 7b93ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 1d137eb4c989396e7574d5037e2cb531de299daa
refs/heads/master: 896a64dd6cbea51e18cf5ba43982d781f92c2e59
6 changes: 1 addition & 5 deletions trunk/drivers/staging/comedi/drivers/rtd520.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,6 @@ struct rtdPrivate {

/* Macros to access registers */

/* Set Pacer clock source select (write only) 0=external 1=internal */
#define RtdPacerClockSource(dev, v) \
writel((v > 0) ? 1 : 0, devpriv->las0+LAS0_PACER_SELECT)

/* Set sample counter source select (write only) */
#define RtdAdcSampleCounterSource(dev, v) \
writel(v, devpriv->las0+LAS0_ADC_SCNT_SRC)
Expand Down Expand Up @@ -1544,7 +1540,7 @@ static int rtd_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
devpriv->transCount = 0;
devpriv->flags &= ~SEND_EOS;
}
RtdPacerClockSource(dev, 1); /* use INTERNAL 8Mhz clock source */
writel(1, devpriv->las0 + LAS0_PACER_SELECT);
RtdAboutStopEnable(dev, 1); /* just interrupt, dont stop */

/* BUG??? these look like enumerated values, but they are bit fields */
Expand Down

0 comments on commit 7b93ca0

Please sign in to comment.