[PATCH] staging:comedi: Fix typo in staging/comedi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fix spelling typo found in staging/comedi.

Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
---
 drivers/staging/comedi/drivers/adl_pci9118.c    | 4 ++--
 drivers/staging/comedi/drivers/adv_pci1710.c    | 2 +-
 drivers/staging/comedi/drivers/adv_pci_dio.c    | 2 +-
 drivers/staging/comedi/drivers/cb_pcidas.c      | 4 ++--
 drivers/staging/comedi/drivers/comedi_parport.c | 8 ++++----
 drivers/staging/comedi/drivers/daqboard2000.c   | 2 +-
 drivers/staging/comedi/drivers/dt2811.c         | 4 ++--
 drivers/staging/comedi/drivers/dt3000.c         | 2 +-
 drivers/staging/comedi/drivers/dt9812.c         | 2 +-
 drivers/staging/comedi/drivers/icp_multi.c      | 2 +-
 drivers/staging/comedi/drivers/jr3_pci.c        | 4 ++--
 drivers/staging/comedi/drivers/mf6x4.c          | 2 +-
 drivers/staging/comedi/drivers/mpc624.c         | 2 +-
 drivers/staging/comedi/drivers/ni_at_a2150.c    | 2 +-
 drivers/staging/comedi/drivers/ni_mio_common.c  | 2 +-
 drivers/staging/comedi/drivers/pcl726.c         | 2 +-
 drivers/staging/comedi/drivers/pcl816.c         | 2 +-
 drivers/staging/comedi/drivers/pcl818.c         | 2 +-
 drivers/staging/comedi/drivers/pcmda12.c        | 4 ++--
 drivers/staging/comedi/drivers/rtd520.c         | 2 +-
 drivers/staging/comedi/drivers/unioxx5.c        | 4 ++--
 drivers/staging/comedi/drivers/usbduxfast.c     | 2 +-
 drivers/staging/comedi/drivers/usbduxsigma.c    | 2 +-
 drivers/staging/comedi/drivers/vmk80xx.c        | 2 +-
 24 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c
index fb3043d..d2322dc 100644
--- a/drivers/staging/comedi/drivers/adl_pci9118.c
+++ b/drivers/staging/comedi/drivers/adl_pci9118.c
@@ -240,7 +240,7 @@ struct pci9118_private {
 	struct pci9118_dmabuf dmabuf[2];
 	int softsshdelay;		/*
 					 * >0 use software S&H,
-					 * numer is requested delay in ns
+					 * number is requested delay in ns
 					 */
 	unsigned char softsshsample;	/*
 					 * polarity of S&H signal
@@ -965,7 +965,7 @@ static int pci9118_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
 
 	/*
 	 * use additional sample at end of every scan
-	 * to satisty DMA 32 bit transfer?
+	 * to satisfy DMA 32 bit transfer?
 	 */
 	devpriv->ai_add_front = 0;
 	devpriv->ai_add_back = 0;
diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/drivers/staging/comedi/drivers/adv_pci1710.c
index 0c6aa96..e5ff777 100644
--- a/drivers/staging/comedi/drivers/adv_pci1710.c
+++ b/drivers/staging/comedi/drivers/adv_pci1710.c
@@ -388,7 +388,7 @@ static int pci171x_ai_read_sample(struct comedi_device *dev,
 		chan = sample >> 12;
 		if (chan != devpriv->act_chanlist[cur_chan]) {
 			dev_err(dev->class_dev,
-				"A/D data droput: received from channel %d, expected %d\n",
+				"A/D data dropout: received from channel %d, expected %d\n",
 				chan, devpriv->act_chanlist[cur_chan]);
 			return -ENODATA;
 		}
diff --git a/drivers/staging/comedi/drivers/adv_pci_dio.c b/drivers/staging/comedi/drivers/adv_pci_dio.c
index f1b3c5a..eb2c695 100644
--- a/drivers/staging/comedi/drivers/adv_pci_dio.c
+++ b/drivers/staging/comedi/drivers/adv_pci_dio.c
@@ -221,7 +221,7 @@ enum hw_io_access {
 
 struct diosubd_data {
 	int chans;		/*  num of chans */
-	int addr;		/*  PCI address ofset */
+	int addr;		/*  PCI address offset */
 	int regs;		/*  number of registers to read or 8255
 				    subdevices */
 	unsigned int specflags;	/*  addon subdevice flags */
diff --git a/drivers/staging/comedi/drivers/cb_pcidas.c b/drivers/staging/comedi/drivers/cb_pcidas.c
index b43e836..094c5a4 100644
--- a/drivers/staging/comedi/drivers/cb_pcidas.c
+++ b/drivers/staging/comedi/drivers/cb_pcidas.c
@@ -2,7 +2,7 @@
     comedi/drivers/cb_pcidas.c
 
     Developed by Ivan Martinez and Frank Mori Hess, with valuable help from
-    David Schleef and the rest of the Comedi developers comunity.
+    David Schleef and the rest of the Comedi developers community.
 
     Copyright (C) 2001-2003 Ivan Martinez <imr@xxxxxxxxxxxxxx>
     Copyright (C) 2001,2002 Frank Mori Hess <fmhess@xxxxxxxxxxxxxxxxxxxxx>
@@ -116,7 +116,7 @@ analog triggering on 1602 series
 #define   ANALOG_TRIGGER	0x3	/* ext. analog trigger */
 #define   TRIGGER_MASK		0x3	/* start trigger mask */
 #define   TGPOL			0x04	/* invert trigger (1602 only) */
-#define   TGSEL			0x08	/* edge/level trigerred (1602 only) */
+#define   TGSEL			0x08	/* edge/level triggered (1602 only) */
 #define   TGEN			0x10	/* enable external start trigger */
 #define   BURSTE		0x20	/* burst mode enable */
 #define   XTRCL			0x80	/* clear external trigger */
diff --git a/drivers/staging/comedi/drivers/comedi_parport.c b/drivers/staging/comedi/drivers/comedi_parport.c
index 15a4093..1671ca8 100644
--- a/drivers/staging/comedi/drivers/comedi_parport.c
+++ b/drivers/staging/comedi/drivers/comedi_parport.c
@@ -251,7 +251,7 @@ static int parport_attach(struct comedi_device *dev,
 	if (ret)
 		return ret;
 
-	/* Digial I/O subdevice - Parallel port DATA register */
+	/* Digital I/O subdevice - Parallel port DATA register */
 	s = &dev->subdevices[0];
 	s->type		= COMEDI_SUBD_DIO;
 	s->subdev_flags	= SDF_READABLE | SDF_WRITABLE;
@@ -261,7 +261,7 @@ static int parport_attach(struct comedi_device *dev,
 	s->insn_bits	= parport_data_reg_insn_bits;
 	s->insn_config	= parport_data_reg_insn_config;
 
-	/* Digial Input subdevice - Parallel port STATUS register */
+	/* Digital Input subdevice - Parallel port STATUS register */
 	s = &dev->subdevices[1];
 	s->type		= COMEDI_SUBD_DI;
 	s->subdev_flags	= SDF_READABLE;
@@ -270,7 +270,7 @@ static int parport_attach(struct comedi_device *dev,
 	s->range_table	= &range_digital;
 	s->insn_bits	= parport_status_reg_insn_bits;
 
-	/* Digial Output subdevice - Parallel port CONTROL register */
+	/* Digital Output subdevice - Parallel port CONTROL register */
 	s = &dev->subdevices[2];
 	s->type		= COMEDI_SUBD_DO;
 	s->subdev_flags	= SDF_WRITABLE;
@@ -280,7 +280,7 @@ static int parport_attach(struct comedi_device *dev,
 	s->insn_bits	= parport_ctrl_reg_insn_bits;
 
 	if (dev->irq) {
-		/* Digial Input subdevice - Interrupt support */
+		/* Digital Input subdevice - Interrupt support */
 		s = &dev->subdevices[3];
 		dev->read_subdev = s;
 		s->type		= COMEDI_SUBD_DI;
diff --git a/drivers/staging/comedi/drivers/daqboard2000.c b/drivers/staging/comedi/drivers/daqboard2000.c
index 611b0a3..87024d3 100644
--- a/drivers/staging/comedi/drivers/daqboard2000.c
+++ b/drivers/staging/comedi/drivers/daqboard2000.c
@@ -26,7 +26,7 @@
  * Much of the functionality of this driver was determined from reading
  * the source code for the Windows driver.
  *
- * The FPGA on the board requires fimware, which is available from
+ * The FPGA on the board requires firmware, which is available from
  * http://www.comedi.org in the comedi_nonfree_firmware tarball.
  *
  * Configuration options: not applicable, uses PCI auto config
diff --git a/drivers/staging/comedi/drivers/dt2811.c b/drivers/staging/comedi/drivers/dt2811.c
index a807732..8d44b18 100644
--- a/drivers/staging/comedi/drivers/dt2811.c
+++ b/drivers/staging/comedi/drivers/dt2811.c
@@ -30,7 +30,7 @@ Configuration options:
   [0] - I/O port base address
   [1] - IRQ, although this is currently unused
   [2] - A/D reference
-	  0 = signle-ended
+	  0 = single-ended
 	  1 = differential
 	  2 = pseudo-differential (common reference)
   [3] - A/D range
@@ -145,7 +145,7 @@ static const struct comedi_lrange range_dt2811_pgl_ai_5_bipolar = {
    0x07 TMRCTR (R/W) Timer/Counter Register
    bits 6,7 - reserved
    bits 5-3 - Timer frequency control (mantissa)
-   543  divisor  freqency (kHz)
+   543  divisor  frequency (kHz)
    000  1        600
    001  10       60
    010  2        300
diff --git a/drivers/staging/comedi/drivers/dt3000.c b/drivers/staging/comedi/drivers/dt3000.c
index 8c4f284..ce1d4b4 100644
--- a/drivers/staging/comedi/drivers/dt3000.c
+++ b/drivers/staging/comedi/drivers/dt3000.c
@@ -367,7 +367,7 @@ static int dt3k_ns_to_timer(unsigned int timer_base, unsigned int *nanosec,
 {
 	int divider, base, prescale;
 
-	/* This function needs improvment */
+	/* This function needs improvement */
 	/* Don't know if divider==0 works. */
 
 	for (prescale = 0; prescale < 16; prescale++) {
diff --git a/drivers/staging/comedi/drivers/dt9812.c b/drivers/staging/comedi/drivers/dt9812.c
index e11c216..0cba304 100644
--- a/drivers/staging/comedi/drivers/dt9812.c
+++ b/drivers/staging/comedi/drivers/dt9812.c
@@ -49,7 +49,7 @@ for my needs.
 #define DT9812_MAX_WRITE_CMD_PIPE_SIZE	32
 #define DT9812_MAX_READ_CMD_PIPE_SIZE	32
 
-/* usb_bulk_msg() timout in milliseconds */
+/* usb_bulk_msg() timeout in milliseconds */
 #define DT9812_USB_TIMEOUT		1000
 
 /*
diff --git a/drivers/staging/comedi/drivers/icp_multi.c b/drivers/staging/comedi/drivers/icp_multi.c
index 1e104eb..4c8614b 100644
--- a/drivers/staging/comedi/drivers/icp_multi.c
+++ b/drivers/staging/comedi/drivers/icp_multi.c
@@ -113,7 +113,7 @@ struct icp_multi_private {
 	unsigned int act_chanlist[32];	/*  list of scanned channel */
 	unsigned char act_chanlist_len;	/*  len of scanlist */
 	unsigned char act_chanlist_pos;	/*  actual position in MUX list */
-	unsigned int *ai_chanlist;	/*  actaul chanlist */
+	unsigned int *ai_chanlist;	/*  actual chanlist */
 	unsigned int do_data;	/*  Remember digital output data */
 };
 
diff --git a/drivers/staging/comedi/drivers/jr3_pci.c b/drivers/staging/comedi/drivers/jr3_pci.c
index b87192e..57cfa20 100644
--- a/drivers/staging/comedi/drivers/jr3_pci.c
+++ b/drivers/staging/comedi/drivers/jr3_pci.c
@@ -492,7 +492,7 @@ static struct jr3_pci_poll_delay jr3_pci_poll_subdevice(struct comedi_subdevice
 		spriv->retries++;
 		if (spriv->retries < 10) {
 			/*
-			 * Wait for offeset to stabilize
+			 * Wait for offset to stabilize
 			 * (< 10 s according to manual)
 			 */
 		} else {
@@ -739,7 +739,7 @@ static int jr3_pci_auto_attach(struct comedi_device *dev,
 	ret = comedi_load_firmware(dev, &comedi_to_pci_dev(dev)->dev,
 				   "comedi/jr3pci.idm",
 				   jr3_download_firmware, 0);
-	dev_dbg(dev->class_dev, "Firmare load %d\n", ret);
+	dev_dbg(dev->class_dev, "Firmware load %d\n", ret);
 	if (ret < 0)
 		return ret;
 	/*
diff --git a/drivers/staging/comedi/drivers/mf6x4.c b/drivers/staging/comedi/drivers/mf6x4.c
index a675e2e..d626e32 100644
--- a/drivers/staging/comedi/drivers/mf6x4.c
+++ b/drivers/staging/comedi/drivers/mf6x4.c
@@ -56,7 +56,7 @@
 #define MF6X4_DA5_R					0x2a
 #define MF6X4_DA6_R					0x2c
 #define MF6X4_DA7_R					0x2e
-/* Map DAC cahnnel id to real HW-dependent offset value */
+/* Map DAC channel id to real HW-dependent offset value */
 #define MF6X4_DAC_R(x)					(0x20 + ((x) * 2))
 
 /* BAR2 registers */
diff --git a/drivers/staging/comedi/drivers/mpc624.c b/drivers/staging/comedi/drivers/mpc624.c
index 0207b8e..8a3151b 100644
--- a/drivers/staging/comedi/drivers/mpc624.c
+++ b/drivers/staging/comedi/drivers/mpc624.c
@@ -243,7 +243,7 @@ static int mpc624_ai_rinsn(struct comedi_device *dev,
 		if (data_in & MPC624_DMY_BIT)
 			dev_dbg(dev->class_dev,
 				"DMY bit is set (data_in=%lu)!", data_in);
-		if (data_in & MPC624_SGN_BIT) {	/* Volatge is positive */
+		if (data_in & MPC624_SGN_BIT) {	/* Voltage is positive */
 			/*
 			 * comedi operates on unsigned numbers, so mask off EOC
 			 * and DMY and don't clear the SGN bit
diff --git a/drivers/staging/comedi/drivers/ni_at_a2150.c b/drivers/staging/comedi/drivers/ni_at_a2150.c
index 9b444f8..d9dcda6 100644
--- a/drivers/staging/comedi/drivers/ni_at_a2150.c
+++ b/drivers/staging/comedi/drivers/ni_at_a2150.c
@@ -88,7 +88,7 @@ TRIG_WAKE_EOS
 #define   POST_TRIGGER_BITS		0x2
 #define   DELAY_TRIGGER_BITS		0x3
 #define   HW_TRIG_EN		0x10	/*  enable hardware trigger */
-#define FIFO_START_REG		0x6	/*  software start aquistion trigger */
+#define FIFO_START_REG		0x6	/*  software start aquisition trigger */
 #define FIFO_RESET_REG		0x8	/*  clears fifo + fifo flags */
 #define FIFO_DATA_REG		0xa	/*  read data */
 #define DMA_TC_CLEAR_REG		0xe	/*  clear dma terminal count interrupt */
diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/comedi/drivers/ni_mio_common.c
index 6cc304a..4503838 100644
--- a/drivers/staging/comedi/drivers/ni_mio_common.c
+++ b/drivers/staging/comedi/drivers/ni_mio_common.c
@@ -676,7 +676,7 @@ static int ni_request_ao_mite_channel(struct comedi_device *dev)
 	if (!devpriv->ao_mite_chan) {
 		spin_unlock_irqrestore(&devpriv->mite_channel_lock, flags);
 		dev_err(dev->class_dev,
-			"failed to reserve mite dma channel for analog outut\n");
+			"failed to reserve mite dma channel for analog output\n");
 		return -EBUSY;
 	}
 	devpriv->ao_mite_chan->dir = COMEDI_OUTPUT;
diff --git a/drivers/staging/comedi/drivers/pcl726.c b/drivers/staging/comedi/drivers/pcl726.c
index 256850c..a6738d7 100644
--- a/drivers/staging/comedi/drivers/pcl726.c
+++ b/drivers/staging/comedi/drivers/pcl726.c
@@ -398,7 +398,7 @@ static int pcl726_attach(struct comedi_device *dev,
 	}
 
 	if (dev->irq) {
-		/* Digial Input subdevice - Interrupt support */
+		/* Digital Input subdevice - Interrupt support */
 		s = &dev->subdevices[subdev++];
 		dev->read_subdev = s;
 		s->type		= COMEDI_SUBD_DI;
diff --git a/drivers/staging/comedi/drivers/pcl816.c b/drivers/staging/comedi/drivers/pcl816.c
index a353d1b..079e6b5 100644
--- a/drivers/staging/comedi/drivers/pcl816.c
+++ b/drivers/staging/comedi/drivers/pcl816.c
@@ -114,7 +114,7 @@ static const struct pcl816_board boardtypes[] = {
 
 struct pcl816_private {
 	struct comedi_isadma *dma;
-	unsigned int ai_poll_ptr;	/*  how many sampes transfer poll */
+	unsigned int ai_poll_ptr;	/*  how many samples transfer poll */
 	unsigned int ai_cmd_running:1;
 	unsigned int ai_cmd_canceled:1;
 };
diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/staging/comedi/drivers/pcl818.c
index e1bdde9..5a57330 100644
--- a/drivers/staging/comedi/drivers/pcl818.c
+++ b/drivers/staging/comedi/drivers/pcl818.c
@@ -296,7 +296,7 @@ static const struct pcl818_board boardtypes[] = {
 
 struct pcl818_private {
 	struct comedi_isadma *dma;
-	/*  manimal allowed delay between samples (in us) for actual card */
+	/*  minimal allowed delay between samples (in us) for actual card */
 	unsigned int ns_min;
 	/*  MUX setting for actual AI operations */
 	unsigned int act_chanlist[16];
diff --git a/drivers/staging/comedi/drivers/pcmda12.c b/drivers/staging/comedi/drivers/pcmda12.c
index d86c5e2..2276a58 100644
--- a/drivers/staging/comedi/drivers/pcmda12.c
+++ b/drivers/staging/comedi/drivers/pcmda12.c
@@ -81,7 +81,7 @@ static int pcmda12_ao_insn_write(struct comedi_device *dev,
 		outb((val >> 8) & 0xff, ioreg + 1);
 
 		/*
-		 * Initiate transfer if not in simultaneaous xfer
+		 * Initiate transfer if not in simultaneous xfer
 		 * mode by reading one of the AO registers.
 		 */
 		if (!devpriv->simultaneous_xfer_mode)
@@ -100,7 +100,7 @@ static int pcmda12_ao_insn_read(struct comedi_device *dev,
 	struct pcmda12_private *devpriv = dev->private;
 
 	/*
-	 * Initiate simultaneaous xfer mode by reading one of the
+	 * Initiate simultaneous xfer mode by reading one of the
 	 * AO registers. All analog outputs will then be updated.
 	 */
 	if (devpriv->simultaneous_xfer_mode)
diff --git a/drivers/staging/comedi/drivers/rtd520.c b/drivers/staging/comedi/drivers/rtd520.c
index 4c13f5e..607aa2e 100644
--- a/drivers/staging/comedi/drivers/rtd520.c
+++ b/drivers/staging/comedi/drivers/rtd520.c
@@ -85,7 +85,7 @@
  * (single channel, 64K read buffer). I get random system lockups when
  * using DMA with ALI-15xx based systems. I haven't been able to test
  * any other chipsets. The lockups happen soon after the start of an
- * acquistion, not in the middle of a long run.
+ * acquisition, not in the middle of a long run.
  *
  * Without DMA, you can do 620Khz sampling with 20% idle on a 400Mhz K6-2
  * (with a 256K read buffer).
diff --git a/drivers/staging/comedi/drivers/unioxx5.c b/drivers/staging/comedi/drivers/unioxx5.c
index 51498b8..0ec2db8 100644
--- a/drivers/staging/comedi/drivers/unioxx5.c
+++ b/drivers/staging/comedi/drivers/unioxx5.c
@@ -123,7 +123,7 @@ static void __unioxx5_analog_config(struct unioxx5_subd_priv *usp, int channel)
 		chan_b <<= channel & 0x07;
 	}
 
-	conf |= chan_a;		/* even channel ot output */
+	conf |= chan_a;		/* even channel to output */
 	conf &= ~chan_b;	/* odd channel to input */
 
 	outb(1, usp->usp_iobase + 0);
@@ -239,7 +239,7 @@ static int __unioxx5_analog_write(struct comedi_subdevice *s,
 	struct device *csdev = s->device->class_dev;
 	int module, i;
 
-	module = channel / 2;	/* definig module number(0 .. 11) */
+	module = channel / 2;	/* defining module number(0 .. 11) */
 	i = (channel % 2) << 1;	/* depends on type of channel (A or B) */
 
 	/* defining if given module can work on output */
diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c
index d90dc59..0eaee84 100644
--- a/drivers/staging/comedi/drivers/usbduxfast.c
+++ b/drivers/staging/comedi/drivers/usbduxfast.c
@@ -70,7 +70,7 @@
 #define USBDUXFASTSUB_CPUCS	0xE600
 
 /*
- * max lenghth of the transfer-buffer for software upload
+ * max length of the transfer-buffer for software upload
  */
 #define TB_LEN	0x2000
 
diff --git a/drivers/staging/comedi/drivers/usbduxsigma.c b/drivers/staging/comedi/drivers/usbduxsigma.c
index 649cf47..0d6232f 100644
--- a/drivers/staging/comedi/drivers/usbduxsigma.c
+++ b/drivers/staging/comedi/drivers/usbduxsigma.c
@@ -851,7 +851,7 @@ static int usbduxsigma_ao_cmdtest(struct comedi_device *dev,
 	 * (cmd->scan_begin_src == TRIG_TIMER, cmd->convert_src == TRIG_NOW).
 	 *
 	 * In a future version, "convert" timing with channels updated
-	 * indivually may be supported in high speed mode
+	 * individually may be supported in high speed mode
 	 * (cmd->scan_begin_src == TRIG_FOLLOW, cmd->convert_src == TRIG_TIMER).
 	 */
 	err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER);
diff --git a/drivers/staging/comedi/drivers/vmk80xx.c b/drivers/staging/comedi/drivers/vmk80xx.c
index 3af075a..a42e780 100644
--- a/drivers/staging/comedi/drivers/vmk80xx.c
+++ b/drivers/staging/comedi/drivers/vmk80xx.c
@@ -618,7 +618,7 @@ static int vmk80xx_pwm_insn_write(struct comedi_device *dev,
 	cmd = VMK8061_CMD_OUT_PWM;
 
 	/*
-	 * The followin piece of code was translated from the inline
+	 * The following piece of code was translated from the inline
 	 * assembler code in the DLL source code.
 	 *
 	 * asm
-- 
2.6.0.rc0.24.gec371ff

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux