diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-09-10 05:13:52 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-10 05:27:04 -0400 |
commit | c35e005f3115cd27d85625805645b90ba961f16f (patch) | |
tree | 74d4e70734fe33e76ec3fdecb3d214a3fe638eed /sound/soc/sh | |
parent | 29fdf4fbbe0891349d8444bde4c09f9cfaf744b6 (diff) |
ASoC: fsi: fixup pm_runtime_disable() timing on fsi_probe()
pm_runtime_disable() error handling timing on fsi_probe() was wrong.
This patch fixes it up.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r-- | sound/soc/sh/fsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 0540408a9fa9..8534989836aa 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -1730,12 +1730,12 @@ exit_snd_soc: | |||
1730 | exit_free_irq: | 1730 | exit_free_irq: |
1731 | free_irq(irq, master); | 1731 | free_irq(irq, master); |
1732 | exit_fsib: | 1732 | exit_fsib: |
1733 | pm_runtime_disable(&pdev->dev); | ||
1733 | fsi_stream_remove(&master->fsib); | 1734 | fsi_stream_remove(&master->fsib); |
1734 | exit_fsia: | 1735 | exit_fsia: |
1735 | fsi_stream_remove(&master->fsia); | 1736 | fsi_stream_remove(&master->fsia); |
1736 | exit_iounmap: | 1737 | exit_iounmap: |
1737 | iounmap(master->base); | 1738 | iounmap(master->base); |
1738 | pm_runtime_disable(&pdev->dev); | ||
1739 | exit_kfree: | 1739 | exit_kfree: |
1740 | kfree(master); | 1740 | kfree(master); |
1741 | master = NULL; | 1741 | master = NULL; |