Patch "ASoC: rt5677: fixed wrong DMIC ref clock" has been added to the 4.0-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
ASoC: rt5677: fixed wrong DMIC ref clock
to the 4.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
asoc-rt5677-fixed-wrong-dmic-ref-clock.patch
and it can be found in the queue-4.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
60a8d62b8497c23eb3d48149af7e55dac2dd83a2Mon Sep 17 00:00:00 2001
From: Bard Liao <[email protected]>
Date: Tue, 28 Apr 2015 11:27:39 +0800
Subject: ASoC: rt5677: fixed wrong DMIC ref clock
From: Bard Liao <[email protected]>
commit 60a8d62b8497c23eb3d48149af7e55dac2dd83a2 upstream.
DMIC clock source is not from codec system clock directly. it is generated from the division of system clock. And it should be 256 * sample rate of AIF1.
--- sound/soc/codecs/rt5677.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt5677.c +1 -1
@@ -904,7 +904,7 @@ static int set_dmic_clk(struct snd_soc_d {struct snd_soc_codec *codec =snd_soc_dapm_to_codec (w->dapm);struct rt5677_priv *rt5677 =snd_soc_codec_get_drvdata (codec); -int idx =rl6231_calc_dmic_clk (rt5677->sysclk); +int idx =rl6231_calc_dmic_clk (rt5677->lrck[RT5677_AIF1 ] <<8 );if (idx <0 )dev_err (codec->dev,"Failed to set DMIC clock\n" );
Patches currently in stable-queue which might be from [email protected] are
queue-4.0/asoc-rt5677-add-register-patch-for-pll.patch queue-4.0/asoc-rt5677-fixed-wrong-dmic-ref-clock.patch