Skip to contentSkip to conversation

Patch "ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Jan 26, 2016

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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 4.1-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-4.1 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 e73694d871867cae8471d2350ce89acb38bc2b63 Mon 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
@@ -1354,7 +1354,7 @@ static int arizona_hw_params(struct snd_
 	bool reconfig;
 	unsigned int aif_tx_state, aif_rx_state;
 
-	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-4.1/asoc-arizona-fix-bclk-for-sample-rates-that-are-multiple-of-4khz.patch