Skip to contentSkip to conversation

ASoC: dapm: Fix typos in comment

PATCH In review Peng Donglin 2 participants 3 messages Sep 27, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: dapm: Fix typos in comment

---
 sound/soc/soc-dapm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/soc-dapm.c +2 -2
index dcef67a..0867eaa 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw
Quoted 10 lines · Peng Donglin
---
 sound/soc/soc-dapm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/soc-dapm.c +0 -0
index dcef67a..0867eaa 100644

sound/soc/soc-dapm.c void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream, · line 4170

Quoted 5 lines
sound/soc/soc-dapm.c +1 -1
@@ -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

#2 lore raw

Thanks, i see.

Quoted 18 lines · Lars-Peter Clausen
Quoted 10 lines · Peng Donglin
---
 sound/soc/soc-dapm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/soc-dapm.c +0 -0
index dcef67a..0867eaa 100644

sound/soc/soc-dapm.c void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream, · line 4170

Quoted 5 lines
sound/soc/soc-dapm.c +1 -1
@@ -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