diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-11-27 11:05:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-03 21:51:39 +0300 |
commit | c17dba8b8e198758a4f61fe89e16106b82af18a9 (patch) | |
tree | 87a08d2027840ad16a566f3e450393f14cdd1440 /sound/soc/sh/rcar/ssi.c | |
parent | 05795411aeda8a86865b595e09f22273d85fce83 (diff) | |
download | linux-c17dba8b8e198758a4f61fe89e16106b82af18a9.tar.xz |
ASoC: rsnd: tidyup SSI interrupt enable/disable method
Current SSI doesn't care interrupt "disable" method. And, it is used
when PIO mode only at this point. SSI interrupt will be used for
sound R/L issue workaround when DMA mode too.
This patch tidyup SSI interrupt enable/disable method.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/ssi.c')
-rw-r--r-- | sound/soc/sh/rcar/ssi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c index 8928913ad452..42d7c7e8226b 100644 --- a/sound/soc/sh/rcar/ssi.c +++ b/sound/soc/sh/rcar/ssi.c @@ -410,10 +410,10 @@ static int rsnd_ssi_pio_start(struct rsnd_mod *mod, rsnd_src_ssiu_start(mod, rdai, 0); - rsnd_src_enable_ssi_irq(mod, rdai); - rsnd_ssi_hw_start(ssi, rdai, io); + rsnd_src_ssi_irq_enable(mod, rdai); + return 0; } @@ -422,6 +422,8 @@ static int rsnd_ssi_pio_stop(struct rsnd_mod *mod, { struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); + rsnd_src_ssi_irq_disable(mod, rdai); + rsnd_ssi_hw_stop(ssi, rdai); rsnd_src_ssiu_stop(mod, rdai); |