提交 8b59c1a8 编写于 作者: P Peter Ujfalusi 提交者: Mark Brown

mfd: twl4030-audio: Get audio MCLK via twl-core API instead of pdata

twl-core has API to get the boot time configured HFCLK rate which has the
same rate as the audio MCLK.
Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 4cd7a2f1
......@@ -175,7 +175,7 @@ static int __devinit twl4030_audio_probe(struct platform_device *pdev)
return -ENOMEM;
mutex_init(&audio->mutex);
audio->audio_mclk = pdata->audio_mclk;
audio->audio_mclk = twl_get_hfclk_rate();
/* Configure APLL_INFREQ and disable APLL if enabled */
switch (audio->audio_mclk) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册