[alsa-devel] [PATCH] ASoC: Remove check for WM8994 AIF clock rate

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Dec 6 19:06:44 CET 2010


We do not need the individual AIF clocks to be over 256fs, we only have
some minimum requirements on SYSCLK. The SYSCLK rate requirements depend
on the DAC and ADC oversampling rates.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8994.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index d475858..5c3dccc 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -1773,10 +1773,6 @@ static int configure_aif_clock(struct snd_soc_codec *codec, int aif)
 			aif + 1, rate);
 	}
 
-	if (rate && rate < 3000000)
-		dev_warn(codec->dev, "AIF%dCLK is %dHz, should be >=3MHz for optimal performance\n",
-			 aif + 1, rate);
-
 	wm8994->aifclk[aif] = rate;
 
 	snd_soc_update_bits(codec, WM8994_AIF1_CLOCKING_1 + offset,
-- 
1.7.2.3



More information about the Alsa-devel mailing list