[alsa-devel] [PATCH] [v2] ASoC: support all possible sample rates in the WM8776 driver

Timur Tabi timur at freescale.com
Fri Sep 16 18:34:17 CEST 2011

Lars-Peter Clausen wrote:
> You mentioned in an earlyer mail that you can switch the sysclk rate at
> runtime. So setting the constraints based on the current sysclk rate won't
> really work. I think you need some mechanism to specify the supported rates on
> a per machine driver basis.

Exactly.  There are some other problems with getting the dynamic sysclk feature
working.  On the board where this is supported, the same clock is connected to
adcmclk and dacmclk, so I can't support playback at 48KHz and capture at
44.1KHz.  However, there's nothing stopping a customer from creating a board
that has two independent clocks.

So in the meantime, I'd really just like the ability to specify in the codec
driver's .startup function exactly which sample rates are supported (based on
the current mclk).

Timur Tabi
Linux kernel developer at Freescale

More information about the Alsa-devel mailing list