* [PATCH] ASoC: bells: Up clock rate to 48kHz and 512fs
@ 2012-11-02 10:44 Dimitris Papastamos
0 siblings, 0 replies; 3+ messages in thread
From: Dimitris Papastamos @ 2012-11-02 10:44 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, patches
The current WM0010 firmware images expect a 48kHz * 512fs
clkin.
Change-Id: I46f3f030175ebcbe9be75d01482379021510f459
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
---
sound/soc/samsung/bells.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/samsung/bells.c b/sound/soc/samsung/bells.c
index 3d7ace7..c8ac240 100644
--- a/sound/soc/samsung/bells.c
+++ b/sound/soc/samsung/bells.c
@@ -27,8 +27,8 @@
*/
#define MCLK_RATE 24576000
-#define SYS_AUDIO_RATE 44100
-#define SYS_MCLK_RATE (SYS_AUDIO_RATE * 256)
+#define SYS_AUDIO_RATE 48000
+#define SYS_MCLK_RATE (SYS_AUDIO_RATE * 512)
#define DAI_AP_DSP 0
#define DAI_DSP_CODEC 1
--
1.8.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ASoC: bells: Up clock rate to 48kHz and 512fs
@ 2012-11-02 13:01 Dimitris Papastamos
2012-11-02 14:05 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Dimitris Papastamos @ 2012-11-02 13:01 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, patches
The current WM0010 firmware images expect a 48kHz * 512fs
clkin.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
---
sound/soc/samsung/bells.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/samsung/bells.c b/sound/soc/samsung/bells.c
index 3d7ace7..c8ac240 100644
--- a/sound/soc/samsung/bells.c
+++ b/sound/soc/samsung/bells.c
@@ -27,8 +27,8 @@
*/
#define MCLK_RATE 24576000
-#define SYS_AUDIO_RATE 44100
-#define SYS_MCLK_RATE (SYS_AUDIO_RATE * 256)
+#define SYS_AUDIO_RATE 48000
+#define SYS_MCLK_RATE (SYS_AUDIO_RATE * 512)
#define DAI_AP_DSP 0
#define DAI_DSP_CODEC 1
--
1.8.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: bells: Up clock rate to 48kHz and 512fs
2012-11-02 13:01 Dimitris Papastamos
@ 2012-11-02 14:05 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2012-11-02 14:05 UTC (permalink / raw)
To: Dimitris Papastamos; +Cc: alsa-devel, patches
[-- Attachment #1.1: Type: text/plain, Size: 518 bytes --]
On Fri, Nov 02, 2012 at 01:01:56PM +0000, Dimitris Papastamos wrote:
> The current WM0010 firmware images expect a 48kHz * 512fs
> clkin.
That's not actually the case, it's more flexible than that also...
> -#define SYS_AUDIO_RATE 44100
> -#define SYS_MCLK_RATE (SYS_AUDIO_RATE * 256)
> +#define SYS_AUDIO_RATE 48000
> +#define SYS_MCLK_RATE (SYS_AUDIO_RATE * 512)
...if you're doing this you need to update the clock rates supplied to
the CODECs otherwise they won't be able to generate the required audio
rate.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-02 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-02 10:44 [PATCH] ASoC: bells: Up clock rate to 48kHz and 512fs Dimitris Papastamos
-- strict thread matches above, loose matches on Subject: below --
2012-11-02 13:01 Dimitris Papastamos
2012-11-02 14:05 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.