Commit 31739a68 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: rsnd: disable SRC.out/in in same time

commit b761bf27 ("ASoC: rsnd: disable SRC.out only when stop timing")
disabled SRC.out/in in different timing, but was based on
picky HW information. Now, we have confirmed that we can disable
both in the same time. This patch do it.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 38587f4c
...@@ -367,11 +367,7 @@ static int rsnd_src_stop(struct rsnd_mod *mod, ...@@ -367,11 +367,7 @@ static int rsnd_src_stop(struct rsnd_mod *mod,
struct rsnd_dai_stream *io, struct rsnd_dai_stream *io,
struct rsnd_priv *priv) struct rsnd_priv *priv)
{ {
/* rsnd_mod_write(mod, SRC_CTRL, 0);
* stop SRC output only
* see rsnd_src_quit
*/
rsnd_mod_write(mod, SRC_CTRL, 0x01);
return 0; return 0;
} }
...@@ -409,9 +405,6 @@ static int rsnd_src_quit(struct rsnd_mod *mod, ...@@ -409,9 +405,6 @@ static int rsnd_src_quit(struct rsnd_mod *mod,
rsnd_src_irq_disable(mod); rsnd_src_irq_disable(mod);
/* stop both out/in */
rsnd_mod_write(mod, SRC_CTRL, 0);
rsnd_src_halt(mod); rsnd_src_halt(mod);
rsnd_mod_power_off(mod); rsnd_mod_power_off(mod);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment