17 Jun
2016
17 Jun
'16
1:08 p.m.
On 06/16/2016 06:45 PM, Lars-Peter Clausen wrote:
You can still handle the clocks in the machine driver, but they should be specified in the node of the CODEC to accurately represent the hardware.
The simple-card driver e.g. does this, requests the clock of the CODEC and uses it to configure the CODEC input frequency based on it with snd_soc_dai_set_sysclk().
I was assuming parsing the CODEC node was not preferred. Thanks for the clarification, I have reworked the machine driver to use the CODEC node.