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

Mark Brown broonie at opensource.wolfsonmicro.com
Sat Sep 17 15:27:47 CEST 2011

On Fri, Sep 16, 2011 at 07:46:13PM +0200, Lars-Peter Clausen wrote:

> So ideally the CODEC driver would have callback which you could pass a set of
> sysclk ranges the machine driver can supply and the CODEC driver would return a
> list of sample rates it can support for this sysclk rate range. And then you
> could use this updated list in your machine driver to decide which sysclk rate
> to select. But I'm not sure if this isn't to over-engineered and hard-coding
> this table into the machine driver wouldn't be better.

Yes, that's basically the issue - we could do something about this but
the effort involved seems disproportionate to the value.

More information about the Alsa-devel mailing list