
17 Sep
2011
17 Sep
'11
4:04 p.m.
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.