2017-09-27 14:35:09

by Donglin Peng

[permalink] [raw]
Subject: [PATCH] ASoC: dapm: Fix typos in comment

Signed-off-by: Peng Donglin <[email protected]>
---
sound/soc/soc-dapm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index dcef67a..0867eaa 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -4167,7 +4167,7 @@ void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream,
* @dapm: DAPM context
* @pin: pin name
*
- * Enables input/output pin and its parents or children widgets iff there is
+ * Enables input/output pin and its parents or children widgets if there is
* a valid audio route and active audio stream.
*
* Requires external locking.
@@ -4187,7 +4187,7 @@ int snd_soc_dapm_enable_pin_unlocked(struct snd_soc_dapm_context *dapm,
* @dapm: DAPM context
* @pin: pin name
*
- * Enables input/output pin and its parents or children widgets iff there is
+ * Enables input/output pin and its parents or children widgets if there is
* a valid audio route and active audio stream.
*
* NOTE: snd_soc_dapm_sync() needs to be called after this for DAPM to
--
1.9.1


2017-09-27 14:40:03

by Lars-Peter Clausen

[permalink] [raw]
Subject: Re: [alsa-devel] [PATCH] ASoC: dapm: Fix typos in comment

On 09/27/2017 04:35 PM, Peng Donglin wrote:
> Signed-off-by: Peng Donglin <[email protected]>
> ---
> sound/soc/soc-dapm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
> index dcef67a..0867eaa 100644
> --- a/sound/soc/soc-dapm.c
> +++ b/sound/soc/soc-dapm.c
> @@ -4167,7 +4167,7 @@ void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream,
> * @dapm: DAPM context
> * @pin: pin name
> *
> - * Enables input/output pin and its parents or children widgets iff there is
> + * Enables input/output pin and its parents or children widgets if there is

https://en.wikipedia.org/wiki/If_and_only_if

2017-09-27 14:47:49

by Donglin Peng

[permalink] [raw]
Subject: Re: [alsa-devel] [PATCH] ASoC: dapm: Fix typos in comment

Thanks, i see.

On Wed, Sep 27, 2017 at 10:39 PM, Lars-Peter Clausen <[email protected]> wrote:
> On 09/27/2017 04:35 PM, Peng Donglin wrote:
>> Signed-off-by: Peng Donglin <[email protected]>
>> ---
>> sound/soc/soc-dapm.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
>> index dcef67a..0867eaa 100644
>> --- a/sound/soc/soc-dapm.c
>> +++ b/sound/soc/soc-dapm.c
>> @@ -4167,7 +4167,7 @@ void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream,
>> * @dapm: DAPM context
>> * @pin: pin name
>> *
>> - * Enables input/output pin and its parents or children widgets iff there is
>> + * Enables input/output pin and its parents or children widgets if there is
>
> https://en.wikipedia.org/wiki/If_and_only_if