aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-12-18 07:13:47 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:41 -0500
commit561de31a23a8a5d23baeb8b2ce7c6102cb649616 (patch)
tree1a5ebe319ea7ca10e0068f2a8f97b3e3dfde2177 /sound
parentf488d9fcc84692ca0060b4e16c1c61a8d514cea8 (diff)
[ALSA] sound/: Spelling fixes
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/drivers/serial-u16550.c6
-rw-r--r--sound/isa/es18xx.c2
-rw-r--r--sound/pci/au88x0/au88x0_core.c2
-rw-r--r--sound/pci/cs46xx/cs46xx_lib.c2
-rw-r--r--sound/pci/hda/hda_codec.h2
-rw-r--r--sound/pci/rme9652/hdsp.c2
-rw-r--r--sound/pci/rme9652/hdspm.c4
-rw-r--r--sound/pci/rme9652/rme9652.c4
-rw-r--r--sound/pci/trident/trident_main.c42
9 files changed, 33 insertions, 33 deletions
diff --git a/sound/drivers/serial-u16550.c b/sound/drivers/serial-u16550.c
index 65de3a755ddb..3958dbd626b2 100644
--- a/sound/drivers/serial-u16550.c
+++ b/sound/drivers/serial-u16550.c
@@ -455,7 +455,7 @@ static void snd_uart16550_do_open(struct snd_uart16550 * uart)
455 | UART_IER_THRI /* Enable Transmitter holding register empty interrupt */ 455 | UART_IER_THRI /* Enable Transmitter holding register empty interrupt */
456 ; 456 ;
457 } 457 }
458 outb(byte, uart->base + UART_IER); /* Interupt enable Register */ 458 outb(byte, uart->base + UART_IER); /* Interrupt enable Register */
459 459
460 inb(uart->base + UART_LSR); /* Clear any pre-existing overrun indication */ 460 inb(uart->base + UART_LSR); /* Clear any pre-existing overrun indication */
461 inb(uart->base + UART_IIR); /* Clear any pre-existing transmit interrupt */ 461 inb(uart->base + UART_IIR); /* Clear any pre-existing transmit interrupt */
@@ -473,7 +473,7 @@ static void snd_uart16550_do_close(struct snd_uart16550 * uart)
473 473
474 outb((0 & UART_IER_RDI) /* Disable Receiver data interrupt */ 474 outb((0 & UART_IER_RDI) /* Disable Receiver data interrupt */
475 |(0 & UART_IER_THRI) /* Disable Transmitter holding register empty interrupt */ 475 |(0 & UART_IER_THRI) /* Disable Transmitter holding register empty interrupt */
476 ,uart->base + UART_IER); /* Interupt enable Register */ 476 ,uart->base + UART_IER); /* Interrupt enable Register */
477 477
478 switch (uart->adaptor) { 478 switch (uart->adaptor) {
479 default: 479 default:
@@ -653,7 +653,7 @@ static void snd_uart16550_output_write(struct snd_rawmidi_substream *substream)
653 char first; 653 char first;
654 static unsigned long lasttime = 0; 654 static unsigned long lasttime = 0;
655 655
656 /* Interupts are disabled during the updating of the tx_buff, 656 /* Interrupts are disabled during the updating of the tx_buff,
657 * since it is 'bad' to have two processes updating the same 657 * since it is 'bad' to have two processes updating the same
658 * variables (ie buff_in & buff_out) 658 * variables (ie buff_in & buff_out)
659 */ 659 */
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c
index 5d4f1635ffdd..ece504170aa9 100644
--- a/sound/isa/es18xx.c
+++ b/sound/isa/es18xx.c
@@ -163,7 +163,7 @@ struct snd_audiodrive {
163#define ES18XX_DUPLEX_SAME 0x0010 /* Playback and record must share the same rate */ 163#define ES18XX_DUPLEX_SAME 0x0010 /* Playback and record must share the same rate */
164#define ES18XX_NEW_RATE 0x0020 /* More precise rate setting */ 164#define ES18XX_NEW_RATE 0x0020 /* More precise rate setting */
165#define ES18XX_AUXB 0x0040 /* AuxB mixer control */ 165#define ES18XX_AUXB 0x0040 /* AuxB mixer control */
166#define ES18XX_HWV 0x0080 /* Has seperate hardware volume mixer controls*/ 166#define ES18XX_HWV 0x0080 /* Has separate hardware volume mixer controls*/
167#define ES18XX_MONO 0x0100 /* Mono_in mixer control */ 167#define ES18XX_MONO 0x0100 /* Mono_in mixer control */
168#define ES18XX_I2S 0x0200 /* I2S mixer control */ 168#define ES18XX_I2S 0x0200 /* I2S mixer control */
169#define ES18XX_MUTEREC 0x0400 /* Record source can be muted */ 169#define ES18XX_MUTEREC 0x0400 /* Record source can be muted */
diff --git a/sound/pci/au88x0/au88x0_core.c b/sound/pci/au88x0/au88x0_core.c
index 4a336eaae9d2..333c62de8620 100644
--- a/sound/pci/au88x0/au88x0_core.c
+++ b/sound/pci/au88x0/au88x0_core.c
@@ -2395,7 +2395,7 @@ static irqreturn_t vortex_interrupt(int irq, void *dev_id)
2395 if (!(hwread(vortex->mmio, VORTEX_STAT) & 0x1)) 2395 if (!(hwread(vortex->mmio, VORTEX_STAT) & 0x1))
2396 return IRQ_NONE; 2396 return IRQ_NONE;
2397 2397
2398 // This is the Interrrupt Enable flag we set before (consistency check). 2398 // This is the Interrupt Enable flag we set before (consistency check).
2399 if (!(hwread(vortex->mmio, VORTEX_CTRL) & CTRL_IRQ_ENABLE)) 2399 if (!(hwread(vortex->mmio, VORTEX_CTRL) & CTRL_IRQ_ENABLE))
2400 return IRQ_NONE; 2400 return IRQ_NONE;
2401 2401
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c
index 8c44fefd15fc..28f98bd9f743 100644
--- a/sound/pci/cs46xx/cs46xx_lib.c
+++ b/sound/pci/cs46xx/cs46xx_lib.c
@@ -8,7 +8,7 @@
8 * - Sometimes the SPDIF input DSP tasks get's unsynchronized 8 * - Sometimes the SPDIF input DSP tasks get's unsynchronized
9 * and the SPDIF get somewhat "distorcionated", or/and left right channel 9 * and the SPDIF get somewhat "distorcionated", or/and left right channel
10 * are swapped. To get around this problem when it happens, mute and unmute 10 * are swapped. To get around this problem when it happens, mute and unmute
11 * the SPDIF input mixer controll. 11 * the SPDIF input mixer control.
12 * - On the Hercules Game Theater XP the amplifier are sometimes turned 12 * - On the Hercules Game Theater XP the amplifier are sometimes turned
13 * off on inadecuate moments which causes distorcions on sound. 13 * off on inadecuate moments which causes distorcions on sound.
14 * 14 *
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 851abfed4e91..2e242dbe0844 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -418,7 +418,7 @@ struct hda_bus_ops {
418 /* free the private data */ 418 /* free the private data */
419 void (*private_free)(struct hda_bus *); 419 void (*private_free)(struct hda_bus *);
420#ifdef CONFIG_SND_HDA_POWER_SAVE 420#ifdef CONFIG_SND_HDA_POWER_SAVE
421 /* notify power-up/down from codec to contoller */ 421 /* notify power-up/down from codec to controller */
422 void (*pm_notify)(struct hda_codec *codec); 422 void (*pm_notify)(struct hda_codec *codec);
423#endif 423#endif
424}; 424};
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index 7956b24eaf34..67ec08cd9901 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -3604,7 +3604,7 @@ static int snd_hdsp_set_defaults(struct hdsp *hdsp)
3604 3604
3605 /* ASSUMPTION: hdsp->lock is either held, or 3605 /* ASSUMPTION: hdsp->lock is either held, or
3606 there is no need to hold it (e.g. during module 3606 there is no need to hold it (e.g. during module
3607 initalization). 3607 initialization).
3608 */ 3608 */
3609 3609
3610 /* set defaults: 3610 /* set defaults:
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index f1bdda6cbcff..6b1d5292fc20 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -3348,7 +3348,7 @@ static int snd_hdspm_set_defaults(struct hdspm * hdspm)
3348 unsigned int i; 3348 unsigned int i;
3349 3349
3350 /* ASSUMPTION: hdspm->lock is either held, or there is no need to 3350 /* ASSUMPTION: hdspm->lock is either held, or there is no need to
3351 hold it (e.g. during module initalization). 3351 hold it (e.g. during module initialization).
3352 */ 3352 */
3353 3353
3354 /* set defaults: */ 3354 /* set defaults: */
@@ -3416,7 +3416,7 @@ static int snd_hdspm_set_defaults(struct hdspm * hdspm)
3416 3416
3417 3417
3418/*------------------------------------------------------------ 3418/*------------------------------------------------------------
3419 interupt 3419 interrupt
3420 ------------------------------------------------------------*/ 3420 ------------------------------------------------------------*/
3421 3421
3422static irqreturn_t snd_hdspm_interrupt(int irq, void *dev_id) 3422static irqreturn_t snd_hdspm_interrupt(int irq, void *dev_id)
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c
index 34f96f12e5bf..1d73be692b08 100644
--- a/sound/pci/rme9652/rme9652.c
+++ b/sound/pci/rme9652/rme9652.c
@@ -148,7 +148,7 @@ MODULE_SUPPORTED_DEVICE("{{RME,Hammerfall},"
148#define RME9652_start_bit (1<<0) /* start record/play */ 148#define RME9652_start_bit (1<<0) /* start record/play */
149 /* bits 1-3 encode buffersize/latency */ 149 /* bits 1-3 encode buffersize/latency */
150#define RME9652_Master (1<<4) /* Clock Mode Master=1,Slave/Auto=0 */ 150#define RME9652_Master (1<<4) /* Clock Mode Master=1,Slave/Auto=0 */
151#define RME9652_IE (1<<5) /* Interupt Enable */ 151#define RME9652_IE (1<<5) /* Interrupt Enable */
152#define RME9652_freq (1<<6) /* samplerate 0=44.1/88.2, 1=48/96 kHz */ 152#define RME9652_freq (1<<6) /* samplerate 0=44.1/88.2, 1=48/96 kHz */
153#define RME9652_freq1 (1<<7) /* if 0, 32kHz, else always 1 */ 153#define RME9652_freq1 (1<<7) /* if 0, 32kHz, else always 1 */
154#define RME9652_DS (1<<8) /* Doule Speed 0=44.1/48, 1=88.2/96 Khz */ 154#define RME9652_DS (1<<8) /* Doule Speed 0=44.1/48, 1=88.2/96 Khz */
@@ -1826,7 +1826,7 @@ static void snd_rme9652_set_defaults(struct snd_rme9652 *rme9652)
1826 1826
1827 /* ASSUMPTION: rme9652->lock is either held, or 1827 /* ASSUMPTION: rme9652->lock is either held, or
1828 there is no need to hold it (e.g. during module 1828 there is no need to hold it (e.g. during module
1829 initalization). 1829 initialization).
1830 */ 1830 */
1831 1831
1832 /* set defaults: 1832 /* set defaults:
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c
index 59a319568ae5..c8d5665b5782 100644
--- a/sound/pci/trident/trident_main.c
+++ b/sound/pci/trident/trident_main.c
@@ -436,7 +436,7 @@ static void snd_trident_free_synth_channel(struct snd_trident *trident, int chan
436 Description: This routine will complete and write the 5 hardware channel 436 Description: This routine will complete and write the 5 hardware channel
437 registers to hardware. 437 registers to hardware.
438 438
439 Paramters: trident - pointer to target device class for 4DWave. 439 Parameters: trident - pointer to target device class for 4DWave.
440 voice - synthesizer voice structure 440 voice - synthesizer voice structure
441 Each register field. 441 Each register field.
442 442
@@ -514,7 +514,7 @@ EXPORT_SYMBOL(snd_trident_write_voice_regs);
514 Description: This routine will write the new CSO offset 514 Description: This routine will write the new CSO offset
515 register to hardware. 515 register to hardware.
516 516
517 Paramters: trident - pointer to target device class for 4DWave. 517 Parameters: trident - pointer to target device class for 4DWave.
518 voice - synthesizer voice structure 518 voice - synthesizer voice structure
519 CSO - new CSO value 519 CSO - new CSO value
520 520
@@ -540,7 +540,7 @@ static void snd_trident_write_cso_reg(struct snd_trident * trident,
540 Description: This routine will write the new ESO offset 540 Description: This routine will write the new ESO offset
541 register to hardware. 541 register to hardware.
542 542
543 Paramters: trident - pointer to target device class for 4DWave. 543 Parameters: trident - pointer to target device class for 4DWave.
544 voice - synthesizer voice structure 544 voice - synthesizer voice structure
545 ESO - new ESO value 545 ESO - new ESO value
546 546
@@ -566,7 +566,7 @@ static void snd_trident_write_eso_reg(struct snd_trident * trident,
566 Description: This routine will write the new voice volume 566 Description: This routine will write the new voice volume
567 register to hardware. 567 register to hardware.
568 568
569 Paramters: trident - pointer to target device class for 4DWave. 569 Parameters: trident - pointer to target device class for 4DWave.
570 voice - synthesizer voice structure 570 voice - synthesizer voice structure
571 Vol - new voice volume 571 Vol - new voice volume
572 572
@@ -597,7 +597,7 @@ static void snd_trident_write_vol_reg(struct snd_trident * trident,
597 Description: This routine will write the new voice pan 597 Description: This routine will write the new voice pan
598 register to hardware. 598 register to hardware.
599 599
600 Paramters: trident - pointer to target device class for 4DWave. 600 Parameters: trident - pointer to target device class for 4DWave.
601 voice - synthesizer voice structure 601 voice - synthesizer voice structure
602 Pan - new pan value 602 Pan - new pan value
603 603
@@ -619,7 +619,7 @@ static void snd_trident_write_pan_reg(struct snd_trident * trident,
619 Description: This routine will write the new reverb volume 619 Description: This routine will write the new reverb volume
620 register to hardware. 620 register to hardware.
621 621
622 Paramters: trident - pointer to target device class for 4DWave. 622 Parameters: trident - pointer to target device class for 4DWave.
623 voice - synthesizer voice structure 623 voice - synthesizer voice structure
624 RVol - new reverb volume 624 RVol - new reverb volume
625 625
@@ -643,7 +643,7 @@ static void snd_trident_write_rvol_reg(struct snd_trident * trident,
643 Description: This routine will write the new chorus volume 643 Description: This routine will write the new chorus volume
644 register to hardware. 644 register to hardware.
645 645
646 Paramters: trident - pointer to target device class for 4DWave. 646 Parameters: trident - pointer to target device class for 4DWave.
647 voice - synthesizer voice structure 647 voice - synthesizer voice structure
648 CVol - new chorus volume 648 CVol - new chorus volume
649 649
@@ -666,7 +666,7 @@ static void snd_trident_write_cvol_reg(struct snd_trident * trident,
666 666
667 Description: This routine converts rate in HZ to hardware delta value. 667 Description: This routine converts rate in HZ to hardware delta value.
668 668
669 Paramters: trident - pointer to target device class for 4DWave. 669 Parameters: trident - pointer to target device class for 4DWave.
670 rate - Real or Virtual channel number. 670 rate - Real or Virtual channel number.
671 671
672 Returns: Delta value. 672 Returns: Delta value.
@@ -696,7 +696,7 @@ static unsigned int snd_trident_convert_rate(unsigned int rate)
696 696
697 Description: This routine converts rate in HZ to hardware delta value. 697 Description: This routine converts rate in HZ to hardware delta value.
698 698
699 Paramters: trident - pointer to target device class for 4DWave. 699 Parameters: trident - pointer to target device class for 4DWave.
700 rate - Real or Virtual channel number. 700 rate - Real or Virtual channel number.
701 701
702 Returns: Delta value. 702 Returns: Delta value.
@@ -726,7 +726,7 @@ static unsigned int snd_trident_convert_adc_rate(unsigned int rate)
726 726
727 Description: This routine converts rate in HZ to spurious threshold. 727 Description: This routine converts rate in HZ to spurious threshold.
728 728
729 Paramters: trident - pointer to target device class for 4DWave. 729 Parameters: trident - pointer to target device class for 4DWave.
730 rate - Real or Virtual channel number. 730 rate - Real or Virtual channel number.
731 731
732 Returns: Delta value. 732 Returns: Delta value.
@@ -748,7 +748,7 @@ static unsigned int snd_trident_spurious_threshold(unsigned int rate,
748 748
749 Description: This routine returns a control mode for a PCM channel. 749 Description: This routine returns a control mode for a PCM channel.
750 750
751 Paramters: trident - pointer to target device class for 4DWave. 751 Parameters: trident - pointer to target device class for 4DWave.
752 substream - PCM substream 752 substream - PCM substream
753 753
754 Returns: Control value. 754 Returns: Control value.
@@ -781,7 +781,7 @@ static unsigned int snd_trident_control_mode(struct snd_pcm_substream *substream
781 781
782 Description: Device I/O control handler for playback/capture parameters. 782 Description: Device I/O control handler for playback/capture parameters.
783 783
784 Paramters: substream - PCM substream class 784 Parameters: substream - PCM substream class
785 cmd - what ioctl message to process 785 cmd - what ioctl message to process
786 arg - additional message infoarg 786 arg - additional message infoarg
787 787
@@ -1664,7 +1664,7 @@ static snd_pcm_uframes_t snd_trident_playback_pointer(struct snd_pcm_substream *
1664 1664
1665 Description: This routine return the capture position 1665 Description: This routine return the capture position
1666 1666
1667 Paramters: pcm1 - PCM device class 1667 Parameters: pcm1 - PCM device class
1668 1668
1669 Returns: position of buffer 1669 Returns: position of buffer
1670 1670
@@ -2157,7 +2157,7 @@ static struct snd_pcm_ops snd_trident_spdif_7018_ops = {
2157 2157
2158 Description: This routine registers the 4DWave device for PCM support. 2158 Description: This routine registers the 4DWave device for PCM support.
2159 2159
2160 Paramters: trident - pointer to target device class for 4DWave. 2160 Parameters: trident - pointer to target device class for 4DWave.
2161 2161
2162 Returns: None 2162 Returns: None
2163 2163
@@ -2215,7 +2215,7 @@ int __devinit snd_trident_pcm(struct snd_trident * trident,
2215 2215
2216 Description: This routine registers the 4DWave device for foldback PCM support. 2216 Description: This routine registers the 4DWave device for foldback PCM support.
2217 2217
2218 Paramters: trident - pointer to target device class for 4DWave. 2218 Parameters: trident - pointer to target device class for 4DWave.
2219 2219
2220 Returns: None 2220 Returns: None
2221 2221
@@ -2272,7 +2272,7 @@ int __devinit snd_trident_foldback_pcm(struct snd_trident * trident,
2272 2272
2273 Description: This routine registers the 4DWave-NX device for SPDIF support. 2273 Description: This routine registers the 4DWave-NX device for SPDIF support.
2274 2274
2275 Paramters: trident - pointer to target device class for 4DWave-NX. 2275 Parameters: trident - pointer to target device class for 4DWave-NX.
2276 2276
2277 Returns: None 2277 Returns: None
2278 2278
@@ -2956,7 +2956,7 @@ static int snd_trident_pcm_mixer_free(struct snd_trident *trident, struct snd_tr
2956 2956
2957 Description: This routine registers the 4DWave device for mixer support. 2957 Description: This routine registers the 4DWave device for mixer support.
2958 2958
2959 Paramters: trident - pointer to target device class for 4DWave. 2959 Parameters: trident - pointer to target device class for 4DWave.
2960 2960
2961 Returns: None 2961 Returns: None
2962 2962
@@ -3338,7 +3338,7 @@ static int snd_trident_dev_free(struct snd_device *device)
3338 Description: Allocate and set up the TLB page table on 4D NX. 3338 Description: Allocate and set up the TLB page table on 4D NX.
3339 Each entry has 4 bytes (physical PCI address). 3339 Each entry has 4 bytes (physical PCI address).
3340 3340
3341 Paramters: trident - pointer to target device class for 4DWave. 3341 Parameters: trident - pointer to target device class for 4DWave.
3342 3342
3343 Returns: 0 or negative error code 3343 Returns: 0 or negative error code
3344 3344
@@ -3515,7 +3515,7 @@ static int snd_trident_sis_init(struct snd_trident *trident)
3515 Description: This routine will create the device specific class for 3515 Description: This routine will create the device specific class for
3516 the 4DWave card. It will also perform basic initialization. 3516 the 4DWave card. It will also perform basic initialization.
3517 3517
3518 Paramters: card - which card to create 3518 Parameters: card - which card to create
3519 pci - interface to PCI bus resource info 3519 pci - interface to PCI bus resource info
3520 dma1ptr - playback dma buffer 3520 dma1ptr - playback dma buffer
3521 dma2ptr - capture dma buffer 3521 dma2ptr - capture dma buffer
@@ -3661,7 +3661,7 @@ int __devinit snd_trident_create(struct snd_card *card,
3661 Description: This routine will free the device specific class for 3661 Description: This routine will free the device specific class for
3662 the 4DWave card. 3662 the 4DWave card.
3663 3663
3664 Paramters: trident - device specific private data for 4DWave card 3664 Parameters: trident - device specific private data for 4DWave card
3665 3665
3666 Returns: None. 3666 Returns: None.
3667 3667
@@ -3699,7 +3699,7 @@ static int snd_trident_free(struct snd_trident *trident)
3699 3699
3700 Description: ISR for Trident 4DWave device 3700 Description: ISR for Trident 4DWave device
3701 3701
3702 Paramters: trident - device specific private data for 4DWave card 3702 Parameters: trident - device specific private data for 4DWave card
3703 3703
3704 Problems: It seems that Trident chips generates interrupts more than 3704 Problems: It seems that Trident chips generates interrupts more than
3705 one time in special cases. The spurious interrupts are 3705 one time in special cases. The spurious interrupts are