Fix misspellings of "system", "controller", "interrupt" and "necessary".
Fix the various misspellings of "system", controller", "interrupt" and "[un]necessary". Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Tento commit je obsažen v:
@@ -71,7 +71,7 @@ static void reset_all_channels(struct snd_midi_channel_set *chset);
|
||||
* such as GM, GS and XG.
|
||||
* There modes that this module will run in are:
|
||||
* Generic MIDI - no interpretation at all, it will just save current values
|
||||
* of controlers etc.
|
||||
* of controllers etc.
|
||||
* GM - You can use all gm_ prefixed elements of chan. Controls, RPN, NRPN,
|
||||
* SysEx will be interpreded as defined in General Midi.
|
||||
* GS - You can use all gs_ prefixed elements of chan. Codes for GS will be
|
||||
@@ -176,7 +176,7 @@ snd_midi_process_event(struct snd_midi_op *ops,
|
||||
ev->data.control.value);
|
||||
break;
|
||||
case SNDRV_SEQ_EVENT_NONREGPARAM:
|
||||
/* Break it back into its controler values */
|
||||
/* Break it back into its controller values */
|
||||
chan->param_type = SNDRV_MIDI_PARAM_TYPE_NONREGISTERED;
|
||||
chan->control[MIDI_CTL_MSB_DATA_ENTRY]
|
||||
= (ev->data.control.value >> 7) & 0x7f;
|
||||
@@ -189,7 +189,7 @@ snd_midi_process_event(struct snd_midi_op *ops,
|
||||
nrpn(ops, drv, chan, chanset);
|
||||
break;
|
||||
case SNDRV_SEQ_EVENT_REGPARAM:
|
||||
/* Break it back into its controler values */
|
||||
/* Break it back into its controller values */
|
||||
chan->param_type = SNDRV_MIDI_PARAM_TYPE_REGISTERED;
|
||||
chan->control[MIDI_CTL_MSB_DATA_ENTRY]
|
||||
= (ev->data.control.value >> 7) & 0x7f;
|
||||
@@ -267,7 +267,7 @@ note_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan,
|
||||
}
|
||||
|
||||
/*
|
||||
* Do all driver independent operations for this controler and pass
|
||||
* Do all driver independent operations for this controller and pass
|
||||
* events that need to take place immediately to the driver.
|
||||
*/
|
||||
static void
|
||||
|
@@ -808,7 +808,7 @@ static void snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *
|
||||
}
|
||||
|
||||
/*
|
||||
* Deal with a controler type event. This includes all types of
|
||||
* Deal with a controller type event. This includes all types of
|
||||
* control events, not just the midi controllers
|
||||
*/
|
||||
void snd_opl3_control(void *p, int type, struct snd_midi_channel *chan)
|
||||
|
@@ -623,7 +623,7 @@ static int snd_es18xx_capture_prepare(struct snd_pcm_substream *substream)
|
||||
(snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) |
|
||||
(snd_pcm_format_unsigned(runtime->format) ? 0x00 : 0x20));
|
||||
|
||||
/* Set DMA controler */
|
||||
/* Set DMA controller */
|
||||
snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT);
|
||||
|
||||
return 0;
|
||||
@@ -689,7 +689,7 @@ static int snd_es18xx_playback2_prepare(struct snd_es18xx *chip,
|
||||
(snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) |
|
||||
(snd_pcm_format_unsigned(runtime->format) ? 0x00 : 0x20));
|
||||
|
||||
/* Set DMA controler */
|
||||
/* Set DMA controller */
|
||||
snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT);
|
||||
|
||||
return 0;
|
||||
|
@@ -498,8 +498,8 @@ snd_au1000_ac97_read(struct snd_ac97 *ac97, unsigned short reg)
|
||||
int i;
|
||||
|
||||
spin_lock(&au1000->ac97_lock);
|
||||
/* would rather use the interupt than this polling but it works and I can't
|
||||
get the interupt driven case to work efficiently */
|
||||
/* would rather use the interrupt than this polling but it works and I can't
|
||||
get the interrupt driven case to work efficiently */
|
||||
for (i = 0; i < 0x5000; i++)
|
||||
if (!(au1000->ac97_ioport->status & AC97C_CP))
|
||||
break;
|
||||
@@ -535,8 +535,8 @@ snd_au1000_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short
|
||||
int i;
|
||||
|
||||
spin_lock(&au1000->ac97_lock);
|
||||
/* would rather use the interupt than this polling but it works and I can't
|
||||
get the interupt driven case to work efficiently */
|
||||
/* would rather use the interrupt than this polling but it works and I can't
|
||||
get the interrupt driven case to work efficiently */
|
||||
for (i = 0; i < 0x5000; i++)
|
||||
if (!(au1000->ac97_ioport->status & AC97C_CP))
|
||||
break;
|
||||
|
@@ -191,7 +191,7 @@ snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip)
|
||||
|
||||
/* Init audio core.
|
||||
* This must be done before we do request_irq otherwise we can get spurious
|
||||
* interupts that we do not handle properly and make a mess of things */
|
||||
* interrupts that we do not handle properly and make a mess of things */
|
||||
if ((err = vortex_core_init(chip)) != 0) {
|
||||
printk(KERN_ERR "hw core init failed\n");
|
||||
goto core_out;
|
||||
|
@@ -264,7 +264,7 @@ out:
|
||||
}
|
||||
|
||||
/*
|
||||
* Power down the audio subsytem pmdown_time msecs after close is called.
|
||||
* Power down the audio subsystem pmdown_time msecs after close is called.
|
||||
* This is to ensure there are no pops or clicks in between any music tracks
|
||||
* due to DAPM power cycling.
|
||||
*/
|
||||
|
@@ -24,7 +24,7 @@
|
||||
* o Automatic Mic Bias support
|
||||
* o Jack insertion power event initiation - e.g. hp insertion will enable
|
||||
* sinks, dacs, etc
|
||||
* o Delayed powerdown of audio susbsytem to reduce pops between a quick
|
||||
* o Delayed powerdown of audio susbsystem to reduce pops between a quick
|
||||
* device reopen.
|
||||
*
|
||||
* Todo:
|
||||
|
@@ -317,7 +317,7 @@ snd_emux_update_port(struct snd_emux_port *port, int update)
|
||||
|
||||
|
||||
/*
|
||||
* Deal with a controler type event. This includes all types of
|
||||
* Deal with a controller type event. This includes all types of
|
||||
* control events, not just the midi controllers
|
||||
*/
|
||||
void
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele