Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186842
b: refs/heads/master
c: 20962c1
h: refs/heads/master
v: v3
  • Loading branch information
Andrea Gelmini authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent 9c58922 commit d21ebef
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 882e5b32b5d68960f46331215fc3c301df508110
refs/heads/master: 20962c10c19862c58c03eec2434279a5d104c40e
5 changes: 2 additions & 3 deletions trunk/drivers/staging/comedi/drivers/dmm32at.c
Original file line number Diff line number Diff line change
Expand Up @@ -1048,11 +1048,10 @@ static int dmm32at_dio_insn_config(struct comedi_device *dev,
* value COMEDI_INPUT or COMEDI_OUTPUT. */

/* if output clear the bit, otherwise set it */
if (data[0] == COMEDI_OUTPUT) {
if (data[0] == COMEDI_OUTPUT)
devpriv->dio_config &= ~chanbit;
} else {
else
devpriv->dio_config |= chanbit;
}
/* get access to the DIO regs */
dmm_outb(dev, DMM32AT_CNTRL, DMM32AT_DIOACC);
/* set the DIO's to the new configuration setting */
Expand Down

0 comments on commit d21ebef

Please sign in to comment.