This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to change the clock frequency of tlv320aic31xx

Other Parts Discussed in Thread: TLV320AIC3101, TLV320AIC3106

hi,ti employee

chip:8168

SDK:DVRRDK_04.00.00.03

linux lsp:

tlv320aic3101 connect a 27MHZ crystal to it's MCLK, and i found in linux driver the default value is 24.56MHZ,so I change it to 27MHZ

diff --git a/sound/soc/davinci/ti81xx-evm.c b/sound/soc/davinci/ti81xx-evm.c
index 4afed1d..88809f5 100755
--- a/sound/soc/davinci/ti81xx-evm.c
+++ b/sound/soc/davinci/ti81xx-evm.c
@@ -40,9 +40,10 @@ static int ti81xx_evm_hw_params(struct snd_pcm_substream *substream,
        struct snd_soc_dai *codec_dai = rtd->codec_dai;
        struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
        unsigned sysclk, fmt = 0;
+    printk("==================In ti81xx_evm_hw_params\n");
        
        /* default */
-       sysclk = 24576000;
+       sysclk = 27000000;
        
        if (!strcmp(rtd->dai_link->name, "TVP5158AUDIO")) {
                /* AFSR -> falling edge, ACLKX -> rising edge, 1 bitclock delay 

but sound broke intervaliy

help,what else i need to change ?