2021-03-25 03:42:45

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH V2] ALSA: pcm: Fix couple of typos


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

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
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(-)

diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index 17a85f4815d5..afb670d7fd53 100644
--- a/sound/core/pcm_native.c
+++ b/sound/core/pcm_native.c
@@ -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


2021-03-25 07:26:12

by Takashi Iwai

[permalink] [raw]
Subject: Re: [PATCH V2] ALSA: pcm: Fix couple of typos

On Thu, 25 Mar 2021 02:36:31 +0100,
Bhaskar Chowdhury wrote:
>
>
> s/unconditonally/unconditionally/
> s/succesful/successful/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

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


> ---
> 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(-)
>
> diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
> index 17a85f4815d5..afb670d7fd53 100644
> --- a/sound/core/pcm_native.c
> +++ b/sound/core/pcm_native.c
> @@ -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
>

2021-03-25 08:58:00

by Bhaskar Chowdhury

[permalink] [raw]
Subject: Re: [PATCH V2] ALSA: pcm: Fix couple of typos

On 08:24 Thu 25 Mar 2021, Takashi Iwai wrote:
>On Thu, 25 Mar 2021 02:36:31 +0100,
>Bhaskar Chowdhury wrote:
>>
>>
>> s/unconditonally/unconditionally/
>> s/succesful/successful/
>>
>> Signed-off-by: Bhaskar Chowdhury <[email protected]>
>
>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...
>
>thanks,
>
>Takashi
>
>
>> ---
>> 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(-)
>>
>> diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
>> index 17a85f4815d5..afb670d7fd53 100644
>> --- a/sound/core/pcm_native.c
>> +++ b/sound/core/pcm_native.c
>> @@ -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
>>


Attachments:
(No filename) (1.62 kB)
signature.asc (499.00 B)
Download all attachments