|
@@ -175,7 +175,7 @@ static int __devinit twl4030_audio_probe(struct platform_device *pdev)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
|
|
|
|
mutex_init(&audio->mutex);
|
|
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 */
|
|
/* Configure APLL_INFREQ and disable APLL if enabled */
|
|
switch (audio->audio_mclk) {
|
|
switch (audio->audio_mclk) {
|