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 f2135bf..3670ebd 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 7f88d08..074feee 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 a3a54e1..4e33b2a 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 9586f24..367a7c8 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 eeb0555..fe1fd2f 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 f870d3d..1f254f4 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 465afbd..441ccef 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;