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