[alsa-devel] [PATCH 1/3] ASoC: fsi: fixup pm_runtime_disable() timing on fsi_probe()
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Mon Sep 10 11:13:52 CEST 2012
pm_runtime_disable() error handling timing on fsi_probe() was wrong.
This patch fixes it up.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
sound/soc/sh/fsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index 0540408..8534989 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -1730,12 +1730,12 @@ exit_snd_soc:
exit_free_irq:
free_irq(irq, master);
exit_fsib:
+ pm_runtime_disable(&pdev->dev);
fsi_stream_remove(&master->fsib);
exit_fsia:
fsi_stream_remove(&master->fsia);
exit_iounmap:
iounmap(master->base);
- pm_runtime_disable(&pdev->dev);
exit_kfree:
kfree(master);
master = NULL;
--
1.7.9.5
More information about the Alsa-devel
mailing list