summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-mcpdm.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-08-02 14:04:26 +0300
committerPeter Ujfalusi <peter.ujfalusi@ti.com>2011-09-22 09:19:15 +0300
commit3a98cd6b2b0459de4ebf85356fbcc34b9848b58a (patch)
tree9c98c903165c37cb0a68cf958d46822c89362f5f /sound/soc/omap/omap-mcpdm.c
parentb199adfdff98092b16f67860013fb5263579c476 (diff)
downloadop-kernel-dev-3a98cd6b2b0459de4ebf85356fbcc34b9848b58a.zip
op-kernel-dev-3a98cd6b2b0459de4ebf85356fbcc34b9848b58a.tar.gz
ASoC: OMAP4: McPDM: Convert to hwmod/omap_device
In order to probe, and operate correctly, the OMAP McPDM driver needs to be converted to use hwmod. The device name has been changed to probe the driver. Replace the clk_* with pm_runtime_* calls to manage the clocks correctly. Missing request_mem_region/release_mem_region added. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/omap/omap-mcpdm.c')
-rw-r--r--sound/soc/omap/omap-mcpdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c
index 7727de0..0820b9e 100644
--- a/sound/soc/omap/omap-mcpdm.c
+++ b/sound/soc/omap/omap-mcpdm.c
@@ -254,7 +254,7 @@ static int __devexit asoc_mcpdm_remove(struct platform_device *pdev)
static struct platform_driver asoc_mcpdm_driver = {
.driver = {
- .name = "omap-mcpdm-dai",
+ .name = "omap-mcpdm",
.owner = THIS_MODULE,
},
OpenPOWER on IntegriCloud