Patch "ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz" has been added to the 3.10-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz
to the 3.10-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-arizona-fix-bclk-for-sample-rates-that-are-multiple-of-4khz.patch
and it can be found in the queue-3.10 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
e73694d871867cae8471d2350ce89acb38bc2b63Mon Sep 17 00:00:00 2001
From: Nikesh Oswal <[email protected]>
Date: Wed, 23 Dec 2015 14:18:05 +0000
Subject: ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz
From: Nikesh Oswal <[email protected]>
commit e73694d871867cae8471d2350ce89acb38bc2b63 upstream.
For a sample rate of 12kHz the bclk was taken from the 44.1kHz table as we test for a multiple of 8kHz. This patch fixes this issue by testing for multiples of 4kHz instead.
--- sound/soc/codecs/arizona.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/arizona.c +1 -1
@@ -1057,7 +1057,7 @@ static int arizona_hw_params(struct snd_int chan_limit = arizona->pdata.max_channels_clocked[dai->id -1 ];int bclk, lrclk, wl, frame, bclk_target; -if (params_rate (params) %8000 ) +if (params_rate (params) %4000 ) rates = &arizona_44k1_bclk_rates[0 ];else rates = &arizona_48k_bclk_rates[0 ];
Patches currently in stable-queue which might be from [email protected] are
queue-3.10/asoc-arizona-fix-bclk-for-sample-rates-that-are-multiple-of-4khz.patch