Skip to contentSkip to conversation

ASoC: meson: axg-pdm: Fix double word in comments

PATCH In review Shaomin Deng 2 participants 2 messages Oct 17, 2022

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

PATCH 1/1 ASoC: meson: axg-pdm: Fix double word in comments

Delete the doubled word "for" in comments.

---
 sound/soc/meson/axg-pdm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/meson/axg-pdm.c +1 -1
index 88ac58272f95..ad43cb2a1e3f 100644
@@ -169,7 +169,7 @@ static int axg_pdm_set_sysclk(struct axg_pdm *priv, unsigned int os,
 
 	/*
 	 * Set the default system clock rate unless it is too fast for
-	 * for the requested sample rate. In this case, the sample pointer
+	 * the requested sample rate. In this case, the sample pointer
 	 * counter could overflow so set a lower system clock rate
 	 */
 	if (sys_rate < priv->cfg->sys_rate)
Signature · 1 line
2.35.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Shaomin Deng

Delete the doubled word "for" in comments.

---
  sound/soc/meson/axg-pdm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/meson/axg-pdm.c +0 -0
index 88ac58272f95..ad43cb2a1e3f 100644

sound/soc/meson/axg-pdm.c static int axg_pdm_set_sysclk(struct axg_pdm *priv, unsigned int os, · line 175

Quoted 8 lines
sound/soc/meson/axg-pdm.c +1 -1
@@ -169,7 +169,7 @@ static int axg_pdm_set_sysclk(struct axg_pdm *priv, unsigned int os,
 
  	/*
  	 * Set the default system clock rate unless it is too fast for
-	 * for the requested sample rate. In this case, the sample pointer
+	 * the requested sample rate. In this case, the sample pointer
  	 * counter could overflow so set a lower system clock rate
  	 */
  	if (sys_rate < priv->cfg->sys_rate)