Commit 20ce161d authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging: comedi: Fix typo in comedi

Correct spelling typos in staging/comedi
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 92d7323b
...@@ -704,9 +704,9 @@ static int i_APCI1710_InsnReadSSIValue(struct comedi_device *dev, ...@@ -704,9 +704,9 @@ static int i_APCI1710_InsnReadSSIValue(struct comedi_device *dev,
| unsigned char *_ pb_ChannelStatus) | | unsigned char *_ pb_ChannelStatus) |
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
| Task : | Task :
(0) Set the digital output from selected SSI moule | (0) Set the digital output from selected SSI module |
| (b_ModuleNbr) ON | (b_ModuleNbr) ON
(1) Set the digital output from selected SSI moule | (1) Set the digital output from selected SSI module |
| (b_ModuleNbr) OFF | (b_ModuleNbr) OFF
(2)Read the status from selected SSI digital input | (2)Read the status from selected SSI digital input |
| (b_InputChannel) | (b_InputChannel)
......
...@@ -312,7 +312,7 @@ struct pci1710_private { ...@@ -312,7 +312,7 @@ struct pci1710_private {
unsigned int ai_et_CntrlReg; unsigned int ai_et_CntrlReg;
unsigned int ai_et_MuxVal; unsigned int ai_et_MuxVal;
unsigned int ai_et_div1, ai_et_div2; unsigned int ai_et_div1, ai_et_div2;
unsigned int act_chanlist[32]; /* list of scaned channel */ unsigned int act_chanlist[32]; /* list of scanned channel */
unsigned char act_chanlist_len; /* len of scanlist */ unsigned char act_chanlist_len; /* len of scanlist */
unsigned char act_chanlist_pos; /* actual position in MUX list */ unsigned char act_chanlist_pos; /* actual position in MUX list */
unsigned char da_ranges; /* copy of D/A outpit range register */ unsigned char da_ranges; /* copy of D/A outpit range register */
...@@ -339,7 +339,7 @@ static const unsigned int muxonechan[] = { ...@@ -339,7 +339,7 @@ static const unsigned int muxonechan[] = {
/* /*
============================================================================== ==============================================================================
Check if channel list from user is builded correctly Check if channel list from user is built correctly
If it's ok, then program scan/gain logic. If it's ok, then program scan/gain logic.
This works for all cards. This works for all cards.
*/ */
......
...@@ -1529,7 +1529,7 @@ static int alloc_and_init_dma_members(struct comedi_device *dev) ...@@ -1529,7 +1529,7 @@ static int alloc_and_init_dma_members(struct comedi_device *dev)
struct pcidas64_private *devpriv = dev->private; struct pcidas64_private *devpriv = dev->private;
int i; int i;
/* alocate pci dma buffers */ /* allocate pci dma buffers */
for (i = 0; i < ai_dma_ring_count(thisboard); i++) { for (i = 0; i < ai_dma_ring_count(thisboard); i++) {
devpriv->ai_buffer[i] = devpriv->ai_buffer[i] =
pci_alloc_consistent(pcidev, DMA_BUFFER_SIZE, pci_alloc_consistent(pcidev, DMA_BUFFER_SIZE,
......
...@@ -120,7 +120,7 @@ struct icp_multi_private { ...@@ -120,7 +120,7 @@ struct icp_multi_private {
unsigned int DacCmdStatus; /* DAC Command/Status register */ unsigned int DacCmdStatus; /* DAC Command/Status register */
unsigned int IntEnable; /* Interrupt Enable register */ unsigned int IntEnable; /* Interrupt Enable register */
unsigned int IntStatus; /* Interrupt Status register */ unsigned int IntStatus; /* Interrupt Status register */
unsigned int act_chanlist[32]; /* list of scaned channel */ unsigned int act_chanlist[32]; /* list of scanned channel */
unsigned char act_chanlist_len; /* len of scanlist */ unsigned char act_chanlist_len; /* len of scanlist */
unsigned char act_chanlist_pos; /* actual position in MUX list */ unsigned char act_chanlist_pos; /* actual position in MUX list */
unsigned int *ai_chanlist; /* actaul chanlist */ unsigned int *ai_chanlist; /* actaul chanlist */
......
...@@ -428,7 +428,7 @@ static int me2600_xilinx_download(struct comedi_device *dev, ...@@ -428,7 +428,7 @@ static int me2600_xilinx_download(struct comedi_device *dev,
/* /*
* Loop for writing firmware byte by byte to xilinx * Loop for writing firmware byte by byte to xilinx
* Firmware data start at offfset 16 * Firmware data start at offset 16
*/ */
for (i = 0; i < file_length; i++) for (i = 0; i < file_length; i++)
writeb((data[16 + i] & 0xff), writeb((data[16 + i] & 0xff),
......
...@@ -837,7 +837,7 @@ start_pacer(struct comedi_device *dev, int mode, unsigned int divisor1, ...@@ -837,7 +837,7 @@ start_pacer(struct comedi_device *dev, int mode, unsigned int divisor1,
/* /*
============================================================================== ==============================================================================
Check if channel list from user is builded correctly Check if channel list from user is built correctly
If it's ok, then return non-zero length of repeated segment of channel list If it's ok, then return non-zero length of repeated segment of channel list
*/ */
static int static int
......
...@@ -56,7 +56,7 @@ sampling rate. If you sample two channels you get 4kHz and so on. ...@@ -56,7 +56,7 @@ sampling rate. If you sample two channels you get 4kHz and so on.
* functions firmware upload is by fxload and no longer by comedi (due to * functions firmware upload is by fxload and no longer by comedi (due to
* enumeration) * enumeration)
* 0.97: USB IDs received, adjusted table * 0.97: USB IDs received, adjusted table
* 0.98: SMP, locking, memroy alloc: moved all usb memory alloc * 0.98: SMP, locking, memory alloc: moved all usb memory alloc
* to the usb subsystem and moved all comedi related memory * to the usb subsystem and moved all comedi related memory
* alloc to comedi. * alloc to comedi.
* | kernel | registration | usbdux-usb | usbdux-comedi | comedi | * | kernel | registration | usbdux-usb | usbdux-comedi | comedi |
......
...@@ -1369,7 +1369,7 @@ static int usbdux_getstatusinfo(struct comedi_device *dev, int chan) ...@@ -1369,7 +1369,7 @@ static int usbdux_getstatusinfo(struct comedi_device *dev, int chan)
/* 32 bits big endian from the A/D converter */ /* 32 bits big endian from the A/D converter */
one = be32_to_cpu(*((int32_t *)((this_usbduxsub->insnBuffer)+1))); one = be32_to_cpu(*((int32_t *)((this_usbduxsub->insnBuffer)+1)));
/* mask out the staus byte */ /* mask out the status byte */
one = one & 0x00ffffff; one = one & 0x00ffffff;
one = one ^ 0x00800000; one = one ^ 0x00800000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment