
Mark Brown wrote:
The first one says that the rates announced by the driver are the superset of all rates the device can ever support, the second says that this is done because the system can change the clock rate after we're done announcing what sample rates we support.
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.
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?