* Patch "ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz" has been added to the 3.10-stable tree
@ 2016-01-26 3:10 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-01-26 3:10 UTC (permalink / raw)
To: Nikesh.Oswal, broonie, ckeepax, gregkh; +Cc: stable, stable-commits
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 <stable@vger.kernel.org> know about it.
>From e73694d871867cae8471d2350ce89acb38bc2b63 Mon Sep 17 00:00:00 2001
From: Nikesh Oswal <Nikesh.Oswal@cirrus.com>
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 <Nikesh.Oswal@cirrus.com>
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.
Signed-off-by: Nikesh Oswal <Nikesh.Oswal@cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
sound/soc/codecs/arizona.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -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 Nikesh.Oswal@cirrus.com are
queue-3.10/asoc-arizona-fix-bclk-for-sample-rates-that-are-multiple-of-4khz.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-26 3:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-26 3:10 Patch "ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz" has been added to the 3.10-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).