]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/comedi/drivers/dmm32at.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[mv-sheeva.git] / drivers / staging / comedi / drivers / dmm32at.c
index 9db9a467c8f875e5678d64fa9d95e5fd7b63c90e..d5cbd515c370ac3f0e2f6013a300c39f66589dbf 100644 (file)
@@ -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 */