diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-01-20 21:00:13 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-22 12:12:25 -0500 |
commit | 31739a689f828345a7ef52fd8dbbb200df1b6555 (patch) | |
tree | d6ea399f665a59513739c185578f7d1867ca27ff /sound/soc | |
parent | 38587f4cb7937344e12a9eef1ccdc5b8a0e992ba (diff) |
ASoC: rsnd: disable SRC.out/in in same time
commit b761bf272bce ("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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/sh/rcar/src.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c index 8dc9b483b5fa..7749615bd404 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c | |||
@@ -367,11 +367,7 @@ static int rsnd_src_stop(struct rsnd_mod *mod, | |||
367 | struct rsnd_dai_stream *io, | 367 | struct rsnd_dai_stream *io, |
368 | struct rsnd_priv *priv) | 368 | struct rsnd_priv *priv) |
369 | { | 369 | { |
370 | /* | 370 | rsnd_mod_write(mod, SRC_CTRL, 0); |
371 | * stop SRC output only | ||
372 | * see rsnd_src_quit | ||
373 | */ | ||
374 | rsnd_mod_write(mod, SRC_CTRL, 0x01); | ||
375 | 371 | ||
376 | return 0; | 372 | return 0; |
377 | } | 373 | } |
@@ -409,9 +405,6 @@ static int rsnd_src_quit(struct rsnd_mod *mod, | |||
409 | 405 | ||
410 | rsnd_src_irq_disable(mod); | 406 | rsnd_src_irq_disable(mod); |
411 | 407 | ||
412 | /* stop both out/in */ | ||
413 | rsnd_mod_write(mod, SRC_CTRL, 0); | ||
414 | |||
415 | rsnd_src_halt(mod); | 408 | rsnd_src_halt(mod); |
416 | 409 | ||
417 | rsnd_mod_power_off(mod); | 410 | rsnd_mod_power_off(mod); |