Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yu Jiaoliang and committed by
Takashi Iwai
73c6e9e1 2a94a089

+4 -4
+1 -1
sound/core/compress_offload.c
··· 288 288 289 289 stream = &data->stream; 290 290 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 */ 292 292 switch (stream->runtime->state) { 293 293 case SNDRV_PCM_STATE_SETUP: 294 294 case SNDRV_PCM_STATE_PREPARED:
+1 -1
sound/core/oss/rate.c
··· 294 294 default: 295 295 break; 296 296 } 297 - return 0; /* silenty ignore other actions */ 297 + return 0; /* silently ignore other actions */ 298 298 } 299 299 300 300 int snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug,
+1 -1
sound/core/pcm_native.c
··· 3115 3115 } c; 3116 3116 } __packed; 3117 3117 3118 - /* recalcuate the boundary within 32bit */ 3118 + /* recalculate the boundary within 32bit */ 3119 3119 static snd_pcm_uframes_t recalculate_boundary(struct snd_pcm_runtime *runtime) 3120 3120 { 3121 3121 snd_pcm_uframes_t boundary;
+1 -1
sound/core/sound.c
··· 133 133 /* /dev/aloadSEQ */ 134 134 snd_request_other(minor); 135 135 } 136 - mutex_lock(&sound_mutex); /* reacuire lock */ 136 + mutex_lock(&sound_mutex); /* reacquire lock */ 137 137 return snd_minors[minor]; 138 138 } 139 139 #else /* !CONFIG_MODULES */