staging: comedi: Fix typo in comedi
authorMasanari Iida <standby24x7@gmail.com>
Sat, 26 May 2012 16:45:19 +0000 (01:45 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:46:06 +0000 (20:46 -0700)
Correct spelling typo in comments within staging/comedi.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c
drivers/staging/comedi/drivers/cb_pcidas.c
drivers/staging/comedi/drivers/das800.c
drivers/staging/comedi/drivers/dyna_pci10xx.c
drivers/staging/comedi/drivers/gsc_hpdi.c
drivers/staging/comedi/drivers/icp_multi.c
drivers/staging/comedi/drivers/usbduxsigma.c

index f2135bfca290aeb3ce5bab30d7a1cac150d1ef23..3670ebdbcd81ad78b8b03c7cdb25aa9d4ee91f39 100644 (file)
@@ -299,7 +299,7 @@ struct pci9118_private {
        short *ai_data;
        short ao_data[2];                       /* data output buffer */
        unsigned int ai_scans;                  /* number of scans to do */
-       char dma_doublebuf;                     /* we can use double buffring */
+       char dma_doublebuf;                     /* we can use double buffering */
        unsigned int dma_actbuf;                /* which buffer is used now */
        short *dmabuf_virt[2];                  /*
                                                 * pointers to begin of
index 7f88d08ee579238f6074c03d1b2fb571f1c9dbca..074feeef829b627813f7ce3ca7a066cd1ff041d1 100644 (file)
@@ -57,8 +57,8 @@ range and aref.
 AI Triggering:
    For start_src == TRIG_EXT, the A/D EXTERNAL TRIGGER IN (pin 45) is used.
    For 1602 series, the start_arg is interpreted as follows:
-     start_arg == 0                   => gated triger (level high)
-     start_arg == CR_INVERT           => gated triger (level low)
+     start_arg == 0                   => gated trigger (level high)
+     start_arg == CR_INVERT           => gated trigger (level low)
      start_arg == CR_EDGE             => Rising edge
      start_arg == CR_EDGE | CR_INVERT => Falling edge
    For the other boards the trigger will be done on rising edge
index a3a54e1c5c988741dfe56f2a94aafd1bae08f3f6..4e33b2a28d97aa46ad4fe15202f8776bd4a38cb7 100644 (file)
@@ -450,7 +450,7 @@ static irqreturn_t das800_interrupt(int irq, void *d)
                /* otherwise, stop taking data */
        } else {
                spin_unlock_irqrestore(&dev->spinlock, irq_flags);
-               disable_das800(dev);    /* diable hardware triggered conversions */
+               disable_das800(dev);    /* disable hardware triggered conversions */
                async->events |= COMEDI_CB_EOA;
        }
        comedi_event(dev, s);
index 9586f24ded73a4383771fe3e4f82edb3b5b03a8f..367a7c88a0fd6fafc2bc55abf197f61276b28f1e 100644 (file)
@@ -141,7 +141,7 @@ static int dyna_pci10xx_insn_read_ai(struct comedi_device *dev,
                for (counter = 0; counter < READ_TIMEOUT; counter++) {
                        d = inw_p(devpriv->BADR2);
 
-                       /* check if read is successfull if the EOC bit is set */
+                       /* check if read is successful if the EOC bit is set */
                        if (d & (1 << 15))
                                goto conv_finish;
                }
index eeb05553e1a79646bb7ed6a11e8de2380687ff2b..fe1fd2f75f0d5d293729ad0ae412eae1b45b3d75 100644 (file)
@@ -631,7 +631,7 @@ static int hpdi_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 
        printk(KERN_WARNING " irq %u\n", dev->irq);
 
-       /*  alocate pci dma buffers */
+       /*  allocate pci dma buffers */
        for (i = 0; i < NUM_DMA_BUFFERS; i++) {
                priv(dev)->dio_buffer[i] =
                    pci_alloc_consistent(priv(dev)->hw_dev, DMA_BUFFER_SIZE,
index f870d3da03240c706b400af523654c162a53aabd..1f254f480a664e1da6b3a29a996933743b226813 100644 (file)
@@ -835,7 +835,7 @@ static int icp_multi_attach(struct comedi_device *dev,
        printk(KERN_WARNING
               "icp_multi EDBG: BGN: icp_multi_attach(...)\n");
 
-       /*  Alocate private data storage space */
+       /*  Allocate private data storage space */
        ret = alloc_private(dev, sizeof(struct icp_multi_private));
        if (ret < 0)
                return ret;
index 465afbdf4069d96224bc9ad14ac6c64aa918c1cc..441ccef4c110417fc3cee1f5d2a38967a69dbeb7 100644 (file)
@@ -1358,7 +1358,7 @@ static int usbdux_ai_insn_read(struct comedi_device *dev,
                /* 32 bits big endian from the A/D converter */
                one = be32_to_cpu(*((int32_t *)
                                    ((this_usbduxsub->insnBuffer)+1)));
-               /* mask out the staus byte */
+               /* mask out the status byte */
                one = one & 0x00ffffff;
                /* turn it into an unsigned integer */
                one = one ^ 0x00800000;