[alsa-devel] [PATCH 2/3] ASoC: support all possible sample rates in the WM8776 driver
Mark Brown
broonie at opensource.wolfsonmicro.com
Sat Sep 17 15:04:37 CEST 2011
On Fri, Sep 16, 2011 at 08:48:46AM -0500, Timur Tabi wrote:
> Ok, I understand what you're saying. In fact, it seems this change, while it
> allows the codec driver to automatically support all of the sample rates that
> the hardware actually supports at the moment, it has the drawback in that it
> doesn't tell ASoC what that list is. All .hw_params() does is accept or reject
> any particular sample rate.
Yes.
> Is there a way for set_syclk() to tell ASoC the full list of supported rates?
> That is, is there any way it can update snd_soc_dai_driver.playback.rates?
No, you can't modify the DAI dynamically. You can set constraints in
the startup() callback as the WM8988 driver does.
More information about the Alsa-devel
mailing list