Commit 583770e8 authored by Bhaskar Chowdhury's avatar Bhaskar Chowdhury Committed by Takashi Iwai
Browse files

ALSA: pcm: Fix couple of typos



s/unconditonally/unconditionally/
s/succesful/successful/

Signed-off-by: default avatarBhaskar Chowdhury <unixbhaskar@gmail.com>
Link: https://lore.kernel.org/r/20210326064211.6509-1-unixbhaskar@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 44609fc0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1425,7 +1425,7 @@ static int snd_pcm_do_stop(struct snd_pcm_substream *substream,
		substream->ops->trigger(substream, SNDRV_PCM_TRIGGER_STOP);
		substream->runtime->stop_operating = true;
	}
	return 0; /* unconditonally stop all substreams */
	return 0; /* unconditionally stop all substreams */
}

static void snd_pcm_post_stop(struct snd_pcm_substream *substream,
@@ -1469,7 +1469,7 @@ EXPORT_SYMBOL(snd_pcm_stop);
 * After stopping, the state is changed to SETUP.
 * Unlike snd_pcm_stop(), this affects only the given stream.
 *
 * Return: Zero if succesful, or a negative error code.
 * Return: Zero if successful, or a negative error code.
 */
int snd_pcm_drain_done(struct snd_pcm_substream *substream)
{