diff mbox

ASoC: dapm: Fix typos in comment

Message ID 1506522901-10552-1-git-send-email-dolinux.peng@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Donglin Peng Sept. 27, 2017, 2:35 p.m. UTC
Signed-off-by: Peng Donglin <dolinux.peng@gmail.com>
---
 sound/soc/soc-dapm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Lars-Peter Clausen Sept. 27, 2017, 2:39 p.m. UTC | #1
On 09/27/2017 04:35 PM, Peng Donglin wrote:
> Signed-off-by: Peng Donglin <dolinux.peng@gmail.com>
> ---
>  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
Donglin Peng Sept. 27, 2017, 2:47 p.m. UTC | #2
Thanks, i see.

On Wed, Sep 27, 2017 at 10:39 PM, Lars-Peter Clausen <lars@metafoo.de> wrote:
> On 09/27/2017 04:35 PM, Peng Donglin wrote:
>> Signed-off-by: Peng Donglin <dolinux.peng@gmail.com>
>> ---
>>  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
diff mbox

Patch

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