projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2275c54
)
mfd: twl4030-audio: Get audio MCLK via twl-core API instead of pdata
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Mon, 10 Sep 2012 10:46:23 +0000
(13:46 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 18 Sep 2012 13:44:56 +0000
(15:44 +0200)
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>
drivers/mfd/twl4030-audio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/twl4030-audio.c
b/drivers/mfd/twl4030-audio.c
index 42e69ae63c44e9efaee30185ad01548b47331992..31605fa02ca1286dd39267ea8c6e51982dcdbfcd 100644
(file)
--- 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)
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) {