18 Jan
2012
18 Jan
'12
2:17 p.m.
On Wed, Jan 18, 2012 at 06:56:18PM +0530, Ashish Chavan wrote:
+static int da7210_set_dai_clkdiv(struct snd_soc_dai *codec_dai,
int div_id, int div)
Why does the driver need the machine driver to manually configure clock dividers?
Do you mean that the input mclk value should be passed via platform data and driver should use it from there during initialization?
No, it should be configured using set_sysclk() like for all the other CODEC drivers. The problem is that everyone using the driver needs to know all the dividers in the chip.