diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-11-27 03:03:39 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-03 13:51:39 -0500 |
commit | 660cdce2fbdcbe48eb143cc394fdb24316232dba (patch) | |
tree | a58398bbc82df811b9c3b8dfd9e4c6cdc13c8ac1 /sound/soc/sh/rcar/src.c | |
parent | 417f96420a5823485b90ad7ee9fddb67996bbd7f (diff) |
ASoC: rsnd: rsnd_src_ssiu_stop() stops SSIU compulsorily
rsnd_src_ssiu_stop() is used to stop SSIU,
but it shouldn't depend on whether it is using SSIU.
This patch stops SSIU compulsorily.
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/src.c')
-rw-r--r-- | sound/soc/sh/rcar/src.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c index 46795019b2c7..384af90a2f74 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c | |||
@@ -175,14 +175,12 @@ int rsnd_src_ssiu_start(struct rsnd_mod *ssi_mod, | |||
175 | } | 175 | } |
176 | 176 | ||
177 | int rsnd_src_ssiu_stop(struct rsnd_mod *ssi_mod, | 177 | int rsnd_src_ssiu_stop(struct rsnd_mod *ssi_mod, |
178 | struct rsnd_dai *rdai, | 178 | struct rsnd_dai *rdai) |
179 | int use_busif) | ||
180 | { | 179 | { |
181 | /* | 180 | /* |
182 | * DMA settings for SSIU | 181 | * DMA settings for SSIU |
183 | */ | 182 | */ |
184 | if (use_busif) | 183 | rsnd_mod_write(ssi_mod, SSI_CTRL, 0); |
185 | rsnd_mod_write(ssi_mod, SSI_CTRL, 0); | ||
186 | 184 | ||
187 | return 0; | 185 | return 0; |
188 | } | 186 | } |