Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186749
b: refs/heads/master
c: dee86e8
h: refs/heads/master
i:
  186747: a748263
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 4, 2010
1 parent c457320 commit f12af26
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2d2facda0b71609be294aa1fd5f56d2cdbcbb794
refs/heads/master: dee86e8c9279110d787da64cbca5d4bda63d93c6
6 changes: 3 additions & 3 deletions trunk/drivers/staging/comedi/drivers/ssv_dnp.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,11 @@ static int dnp_dio_insn_config(struct comedi_device *dev,

/* read 'old' direction of the port and set bits (out=1, in=0) */
register_buffer = inb(CSCDR);
if (data[0] == COMEDI_OUTPUT) {
if (data[0] == COMEDI_OUTPUT)
register_buffer |= (1 << chan);
} else {
else
register_buffer &= ~(1 << chan);
}

outb(register_buffer, CSCDR);

return 1;
Expand Down

0 comments on commit f12af26

Please sign in to comment.