Skip to contentSkip to conversation

ALSA: pcm: Fix couple of typos

PATCH Superseded Bhaskar Chowdhury 2 participants 3 messages Mar 25, 2021 Sound

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ALSA: pcm: Fix couple of typos

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

---
Changes from V1:
Randy's finding incorporated ,plus the subject line adjusted.

 sound/core/pcm_native.c | 82 ++++++++++++++++++++---------------------
 1 file changed, 41 insertions(+), 41 deletions(-)
sound/core/pcm_native.c +2 -3
index 17a85f4815d5..afb670d7fd53 100644
@@ -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.
--

2.30.1

#1 lore raw
Quoted 6 lines · Bhaskar Chowdhury

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

The patch isn't cleanly applicable, some space was put at the beginning of the line incorrectly. Possibly a MUA problem? Could you resubmit with git-send-email instead?

thanks,

Takashi

Quoted 29 lines

---
Changes from V1:
Randy's finding incorporated ,plus the subject line adjusted.

 sound/core/pcm_native.c | 82 ++++++++++++++++++++---------------------
 1 file changed, 41 insertions(+), 41 deletions(-)
sound/core/pcm_native.c +2 -3
index 17a85f4815d5..afb670d7fd53 100644
@@ -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.
--

2.30.1

#2 lore raw
Quoted 4 lines · Takashi Iwai
Quoted 2 lines · Bhaskar Chowdhury
Quoted 9 lines
Quoted 4 lines

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

The patch isn't cleanly applicable, some space was put at the beginning of the line incorrectly. Possibly a MUA problem? Could you resubmit with git-send-email instead?

Whoops! let me send you a V2...

Quoted 35 lines

thanks,

Takashi

Quoted 29 lines

---
Changes from V1:
Randy's finding incorporated ,plus the subject line adjusted.

 sound/core/pcm_native.c | 82 ++++++++++++++++++++---------------------
 1 file changed, 41 insertions(+), 41 deletions(-)
sound/core/pcm_native.c +2 -3
index 17a85f4815d5..afb670d7fd53 100644
@@ -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.
--

2.30.1