alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Audio play problem with tlv320aic3106 in mainline.
@ 2015-05-28 11:36 Enric Balletbo Serra
  2015-05-29  7:20 ` Peter Ujfalusi
  0 siblings, 1 reply; 6+ messages in thread
From: Enric Balletbo Serra @ 2015-05-28 11:36 UTC (permalink / raw)
  To: alsa-devel
  Cc: Lars-Peter Clausen, Takashi Iwai, Liam Girdwood, Jyri Sarha,
	Peter Ujfalusi, Mark Brown

Dear all,

Recently I sent some patches to add support for a new board based on
AM335x processor [1]. The board has the TLV320AIC3106 audio codec, the
MCLK signal is provided by an external oscillator of 12MHz. The
problem is that when I play a wav file for example I heard the song a
double speed. This is with v4.0 and current mainline.

In dts file I defined "ti,codec-clock-rate = <12000000>;" which is the
correct value. Curiously when I changed the clock rate value to
24000000 I heard the song at normal speed. AFAIK the correct value for
clock-rate is 12MHz so I suspect that something is wrong in the
driver, maybe it sets a wrong clock divider/multiplier ? Anyone can
point me in the right direction to fix the issue ? I see that
am335x-evm and am335x-pepper boards also uses this audio codec, did
anyone with those boards have the same problem?

[1] https://patchwork.kernel.org/patch/6480071/

Thanks in advance,
Enric

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-01 12:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 11:36 Audio play problem with tlv320aic3106 in mainline Enric Balletbo Serra
2015-05-29  7:20 ` Peter Ujfalusi
2015-05-29  9:24   ` Enric Balletbo Serra
2015-05-29 12:16     ` Peter Ujfalusi
2015-06-01  9:16       ` Enric Balletbo Serra
2015-06-01 12:10         ` Peter Ujfalusi

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).