aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-09-10 06:46:23 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-18 09:44:56 -0400
commitc531241dcc010e4457e0eb9401aaeae0a56bf5c6 (patch)
treec4f34bcb339c78cd5af4d3d38e6d17d742315aa6 /drivers/mfd
parent2275c544cb824b469a386e411cbcaa01a19d4f55 (diff)
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: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/twl4030-audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c
index 42e69ae63c44..31605fa02ca1 100644
--- a/drivers/mfd/twl4030-audio.c
+++ b/drivers/mfd/twl4030-audio.c
@@ -175,7 +175,7 @@ static int __devinit twl4030_audio_probe(struct platform_device *pdev)
175 return -ENOMEM; 175 return -ENOMEM;
176 176
177 mutex_init(&audio->mutex); 177 mutex_init(&audio->mutex);
178 audio->audio_mclk = pdata->audio_mclk; 178 audio->audio_mclk = twl_get_hfclk_rate();
179 179
180 /* Configure APLL_INFREQ and disable APLL if enabled */ 180 /* Configure APLL_INFREQ and disable APLL if enabled */
181 switch (audio->audio_mclk) { 181 switch (audio->audio_mclk) {