Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317929
b: refs/heads/master
c: 2b6e6b8
h: refs/heads/master
i:
  317927: ed6edd2
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jul 13, 2012
1 parent e36b438 commit 3b09302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: db1701246d5c553ed440bcb6ee1b00ed6a975829
refs/heads/master: 2b6e6b8042a9f783170b0a15e0550a075381726e
4 changes: 1 addition & 3 deletions trunk/drivers/staging/comedi/drivers/rtd520.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,6 @@ struct rtdPrivate {
/* Macros to access registers */

/* Digital IO */
#define RtdDio0Read(dev) \
(readw(devpriv->las0+LAS0_DIO0) & 0xff)
#define RtdDio0Write(dev, v) \
writew((v) & 0xff, devpriv->las0+LAS0_DIO0)

Expand Down Expand Up @@ -1664,7 +1662,7 @@ static int rtd_dio_insn_bits(struct comedi_device *dev,
}
/* on return, data[1] contains the value of the digital
* input lines. */
data[1] = RtdDio0Read(dev);
data[1] = readw(devpriv->las0 + LAS0_DIO0) & 0xff;

/*DPRINTK("rtd520:port_0 wrote: 0x%x read: 0x%x\n", s->state, data[1]); */

Expand Down

0 comments on commit 3b09302

Please sign in to comment.