[alsa-devel] [PATCH] ASoC: rsnd: call rsnd_src_quit() from rsnd_src_quit_gen2()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Oct 28 05:30:11 CET 2015


From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

2d604e03("ASoC: rsnd: disable SRC.out only when stop timing")
added rsnd_src_quit_gen2(), but it should call rsnd_src_quit()
same as before. This patch fixup it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
 sound/soc/sh/rcar/src.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c
index a710799..776b0ef 100644
--- a/sound/soc/sh/rcar/src.c
+++ b/sound/soc/sh/rcar/src.c
@@ -621,7 +621,7 @@ static int rsnd_src_quit_gen2(struct rsnd_mod *mod,
 	/* stop both out/in */
 	rsnd_mod_write(mod, SRC_CTRL, 0);
 
-	return 0;
+	return rsnd_src_quit(mod, io, priv);
 }
 
 static void __rsnd_src_interrupt_gen2(struct rsnd_mod *mod,
-- 
1.9.1



More information about the Alsa-devel mailing list