mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
ALSA: Fix typos in comments across various files
This patch fixes typos in comments within the ALSA subsystem. These changes improve code readability without affecting functionality. Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com> Link: https://patch.msgid.link/20240924041749.3125507-1-yujiaoliang@vivo.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
2a94a0898b
commit
73c6e9e16f
@ -288,7 +288,7 @@ static ssize_t snd_compr_write(struct file *f, const char __user *buf,
|
|||||||
|
|
||||||
stream = &data->stream;
|
stream = &data->stream;
|
||||||
guard(mutex)(&stream->device->lock);
|
guard(mutex)(&stream->device->lock);
|
||||||
/* write is allowed when stream is running or has been steup */
|
/* write is allowed when stream is running or has been setup */
|
||||||
switch (stream->runtime->state) {
|
switch (stream->runtime->state) {
|
||||||
case SNDRV_PCM_STATE_SETUP:
|
case SNDRV_PCM_STATE_SETUP:
|
||||||
case SNDRV_PCM_STATE_PREPARED:
|
case SNDRV_PCM_STATE_PREPARED:
|
||||||
|
@ -294,7 +294,7 @@ static int rate_action(struct snd_pcm_plugin *plugin,
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return 0; /* silenty ignore other actions */
|
return 0; /* silently ignore other actions */
|
||||||
}
|
}
|
||||||
|
|
||||||
int snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug,
|
int snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug,
|
||||||
|
@ -3115,7 +3115,7 @@ struct snd_pcm_sync_ptr32 {
|
|||||||
} c;
|
} c;
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
/* recalcuate the boundary within 32bit */
|
/* recalculate the boundary within 32bit */
|
||||||
static snd_pcm_uframes_t recalculate_boundary(struct snd_pcm_runtime *runtime)
|
static snd_pcm_uframes_t recalculate_boundary(struct snd_pcm_runtime *runtime)
|
||||||
{
|
{
|
||||||
snd_pcm_uframes_t boundary;
|
snd_pcm_uframes_t boundary;
|
||||||
|
@ -133,7 +133,7 @@ static struct snd_minor *autoload_device(unsigned int minor)
|
|||||||
/* /dev/aloadSEQ */
|
/* /dev/aloadSEQ */
|
||||||
snd_request_other(minor);
|
snd_request_other(minor);
|
||||||
}
|
}
|
||||||
mutex_lock(&sound_mutex); /* reacuire lock */
|
mutex_lock(&sound_mutex); /* reacquire lock */
|
||||||
return snd_minors[minor];
|
return snd_minors[minor];
|
||||||
}
|
}
|
||||||
#else /* !CONFIG_MODULES */
|
#else /* !CONFIG_MODULES */
|
||||||
|
Loading…
Reference in New Issue
Block a user