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

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.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 44609fc0
...@@ -1425,7 +1425,7 @@ static int snd_pcm_do_stop(struct snd_pcm_substream *substream, ...@@ -1425,7 +1425,7 @@ static int snd_pcm_do_stop(struct snd_pcm_substream *substream,
substream->ops->trigger(substream, SNDRV_PCM_TRIGGER_STOP); substream->ops->trigger(substream, SNDRV_PCM_TRIGGER_STOP);
substream->runtime->stop_operating = true; 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, static void snd_pcm_post_stop(struct snd_pcm_substream *substream,
...@@ -1469,7 +1469,7 @@ EXPORT_SYMBOL(snd_pcm_stop); ...@@ -1469,7 +1469,7 @@ EXPORT_SYMBOL(snd_pcm_stop);
* After stopping, the state is changed to SETUP. * After stopping, the state is changed to SETUP.
* Unlike snd_pcm_stop(), this affects only the given stream. * 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) int snd_pcm_drain_done(struct snd_pcm_substream *substream)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment