Skip to content

Commit 73c6e9e

Browse files
Yu Jiaoliangtiwai
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 2a94a08 commit 73c6e9e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sound/core/compress_offload.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static ssize_t snd_compr_write(struct file *f, const char __user *buf,
288288

289289
stream = &data->stream;
290290
guard(mutex)(&stream->device->lock);
291-
/* write is allowed when stream is running or has been steup */
291+
/* write is allowed when stream is running or has been setup */
292292
switch (stream->runtime->state) {
293293
case SNDRV_PCM_STATE_SETUP:
294294
case SNDRV_PCM_STATE_PREPARED:

sound/core/oss/rate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ static int rate_action(struct snd_pcm_plugin *plugin,
294294
default:
295295
break;
296296
}
297-
return 0; /* silenty ignore other actions */
297+
return 0; /* silently ignore other actions */
298298
}
299299

300300
int snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug,

sound/core/pcm_native.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3115,7 +3115,7 @@ struct snd_pcm_sync_ptr32 {
31153115
} c;
31163116
} __packed;
31173117

3118-
/* recalcuate the boundary within 32bit */
3118+
/* recalculate the boundary within 32bit */
31193119
static snd_pcm_uframes_t recalculate_boundary(struct snd_pcm_runtime *runtime)
31203120
{
31213121
snd_pcm_uframes_t boundary;

sound/core/sound.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static struct snd_minor *autoload_device(unsigned int minor)
133133
/* /dev/aloadSEQ */
134134
snd_request_other(minor);
135135
}
136-
mutex_lock(&sound_mutex); /* reacuire lock */
136+
mutex_lock(&sound_mutex); /* reacquire lock */
137137
return snd_minors[minor];
138138
}
139139
#else /* !CONFIG_MODULES */

0 commit comments

Comments
 (0)