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

From: Lars-Peter Clausen
Date: Wed Sep 27 2017 - 10:40:06 EST


On 09/27/2017 04:35 PM, Peng Donglin wrote:
> Signed-off-by: Peng Donglin <dolinux.peng@xxxxxxxxx>
> ---
> 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