Skip to contentSkip to conversation

ASoC: atmel-classd: fix audio clock rate

PATCH In review Songjun Wu 3 participants 3 messages Feb 24, 2017 – Mar 7, 2017

Subsystems (5)
lore
Share & tools
lore

Songjun Wu

author
#0 lore raw

PATCH 1/1 ASoC: atmel-classd: fix audio clock rate

Fix the audio clock rate according to the datasheet.

---

 sound/soc/atmel/atmel-classd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/atmel/atmel-classd.c +1 -1
index 89ac5f5a93eb..7ae46c2647d4 100644
@@ -349,7 +349,7 @@ static int atmel_classd_codec_dai_digital_mute(struct snd_soc_dai *codec_dai,
 }
 
 #define CLASSD_ACLK_RATE_11M2896_MPY_8 (112896 * 100 * 8)
-#define CLASSD_ACLK_RATE_12M288_MPY_8  (12228 * 1000 * 8)
+#define CLASSD_ACLK_RATE_12M288_MPY_8  (12288 * 1000 * 8)
 
 static struct {
 	int rate;
Signature · 1 line
2.11.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Songjun Wu

Fix the audio clock rate according to the datasheet.

Yes, for sure ;-)

But with these tags:

Fixes e0a25b6d1862 ("ASoC: atmel-classd: add the Audio Class D Amplifier")
Cc <[email protected]> # 4.4+

Thanks!

Quoted 19 lines

---

 sound/soc/atmel/atmel-classd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/atmel/atmel-classd.c +1 -1
index 89ac5f5a93eb..7ae46c2647d4 100644
@@ -349,7 +349,7 @@ static int atmel_classd_codec_dai_digital_mute(struct snd_soc_dai *codec_dai,
 }
 
 #define CLASSD_ACLK_RATE_11M2896_MPY_8 (112896 * 100 * 8)
-#define CLASSD_ACLK_RATE_12M288_MPY_8  (12228 * 1000 * 8)
+#define CLASSD_ACLK_RATE_12M288_MPY_8  (12288 * 1000 * 8)
 
 static struct {
 	int rate;
Signature · 1 line
Nicolas Ferre
maintainer
#2 lore raw

Applied "ASoC: atmel-classd: fix audio clock rate" to the asoc tree

In reply to Songjun Wu

The patch

ASoC: atmel-classd: fix audio clock rate

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From cd3ac9affc43b44f49d7af70d275f0bd426ba643 Mon Sep 17 00:00:00 2001

From: Songjun Wu <[email protected]>
Date: Fri, 24 Feb 2017 15:10:43 +0800
Subject: [PATCH] ASoC: atmel-classd: fix audio clock rate

Fix the audio clock rate according to the datasheet.

---
 sound/soc/atmel/atmel-classd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/atmel/atmel-classd.c +1 -1
index 89ac5f5a93eb..7ae46c2647d4 100644
@@ -349,7 +349,7 @@ static int atmel_classd_codec_dai_digital_mute(struct snd_soc_dai *codec_dai,
 }
 
 #define CLASSD_ACLK_RATE_11M2896_MPY_8 (112896 * 100 * 8)
-#define CLASSD_ACLK_RATE_12M288_MPY_8  (12228 * 1000 * 8)
+#define CLASSD_ACLK_RATE_12M288_MPY_8  (12288 * 1000 * 8)
 
 static struct {
 	int rate;
Signature · 1 line
2.11.0