Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1587321 > unrolled thread
| Started by | Songjun Wu <songjun.wu@microchip.com> |
|---|---|
| First post | 2017-02-24 08:20 +0100 |
| Last post | 2017-02-24 11:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ASoC: atmel-classd: fix audio clock rate Songjun Wu <songjun.wu@microchip.com> - 2017-02-24 08:20 +0100
Re: [PATCH] ASoC: atmel-classd: fix audio clock rate Nicolas Ferre <nicolas.ferre@microchip.com> - 2017-02-24 11:40 +0100
| From | Songjun Wu <songjun.wu@microchip.com> |
|---|---|
| Date | 2017-02-24 08:20 +0100 |
| Subject | [PATCH] ASoC: atmel-classd: fix audio clock rate |
| Message-ID | <teikx-5cw-15@gated-at.bofh.it> |
Fix the audio clock rate according to the datasheet.
Reported-by: Dushara Jayasinghe <dushara@successful.com.au>
Signed-off-by: Songjun Wu <songjun.wu@microchip.com>
---
sound/soc/atmel/atmel-classd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c
index 89ac5f5a93eb..7ae46c2647d4 100644
--- a/sound/soc/atmel/atmel-classd.c
+++ b/sound/soc/atmel/atmel-classd.c
@@ -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;
--
2.11.0
[toc] | [next] | [standalone]
| From | Nicolas Ferre <nicolas.ferre@microchip.com> |
|---|---|
| Date | 2017-02-24 11:40 +0100 |
| Message-ID | <tels6-7i4-33@gated-at.bofh.it> |
| In reply to | #1587321 |
Le 24/02/2017 à 08:10, Songjun Wu a écrit :
> Fix the audio clock rate according to the datasheet.
>
> Reported-by: Dushara Jayasinghe <dushara@successful.com.au>
> Signed-off-by: Songjun Wu <songjun.wu@microchip.com>
Yes, for sure ;-)
But with these tags:
Fixes: e0a25b6d1862 ("ASoC: atmel-classd: add the Audio Class D Amplifier")
Cc: <stable@vger.kernel.org> # 4.4+
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Thanks!
> ---
>
> sound/soc/atmel/atmel-classd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c
> index 89ac5f5a93eb..7ae46c2647d4 100644
> --- a/sound/soc/atmel/atmel-classd.c
> +++ b/sound/soc/atmel/atmel-classd.c
> @@ -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;
>
--
Nicolas Ferre
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web