summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/fsi.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-04-08 08:09:17 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-11 22:14:33 +0200
commitb9c9f9675fe002e95e596dbe086fdd3baa59db46 (patch)
tree9c2748775fb36cbf8e7014a7705a331ec9022731 /sound/soc/sh/fsi.c
parentASoC: fsi: take care in failing case of dai register (diff)
downloadlinux-b9c9f9675fe002e95e596dbe086fdd3baa59db46.tar.xz
linux-b9c9f9675fe002e95e596dbe086fdd3baa59db46.zip
ASoC: fsi: modify vague PM control on probe
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh/fsi.c')
-rw-r--r--sound/soc/sh/fsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index 8e51a6eafbc3..8071bc68560d 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -1200,10 +1200,11 @@ static int fsi_probe(struct platform_device *pdev)
master->fsib.master = master;
pm_runtime_enable(&pdev->dev);
- pm_runtime_resume(&pdev->dev);
dev_set_drvdata(&pdev->dev, master);
+ pm_runtime_get_sync(&pdev->dev);
fsi_soft_all_reset(master);
+ pm_runtime_put_sync(&pdev->dev);
ret = request_irq(irq, &fsi_interrupt, IRQF_DISABLED,
id_entry->name, master);