linux/sound/soc/sh/rcar
Kuninori Morimoto 2daf71ad8d ASoC: rsnd: avoid pointless loop in rsnd_mod_interrupt()
Current Renesas sound driver doesn't have 1:1 relationship between
stream <-> mod because it is supporting MIX. Because of this reason
rsnd_mod_interrupt() is searching correspond mod by for loop.
But this loop is not needed, because each mod has own type.
This patch avoid pointless loop by using mod->type.

This patch is good for SSI-parent support, because stream might have
2 SSI as SSI-parent/child. SSI interrupt handler will be called twice
if stream has SSI-parent without this patch.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-11-16 10:09:29 +00:00
..
adg.c ASoC: rsnd: remove duplicate parameter from rsnd_ssi_xxx() 2015-10-22 13:30:01 +01:00
core.c ASoC: rsnd: avoid pointless loop in rsnd_mod_interrupt() 2015-11-16 10:09:29 +00:00
ctu.c ASoC: rsnd: rename rsnd_mod_hw_start/stop to rsnd_mod_power_on/off 2015-10-22 13:30:01 +01:00
dma.c ASoC: rsnd: fixup rsnd_dma_of_path method for mod base common method 2015-11-16 10:09:29 +00:00
dvc.c ASoC: rsnd: rename rsnd_mod_hw_start/stop to rsnd_mod_power_on/off 2015-10-22 13:30:01 +01:00
gen.c ASoC: rsnd: fixup struct rsnd_gen::res array size 2015-10-22 13:30:01 +01:00
Makefile ASoC: rsnd: add MIX (Mixer) support 2015-07-17 19:26:06 +01:00
mix.c ASoC: rsnd: rename rsnd_mod_hw_start/stop to rsnd_mod_power_on/off 2015-10-22 13:30:01 +01:00
rcar_snd.h ASoC: rsnd: Remove obsolete platform data support 2015-10-07 12:19:51 +01:00
rsnd.h ASoC: rsnd: rsnd_dai_stream has each mod's status insted of rsnd_mod 2015-11-16 10:09:29 +00:00
rsrc-card.c ASoC: rsrc-card: use snd_soc_of_parse_audio_route/prefix for routing 2015-07-16 22:10:32 +01:00
src.c ASoC: rsnd: Don't stop HW even if a large number of errors occur 2015-11-16 10:09:29 +00:00
ssi.c ASoC: rsnd: Don't stop HW even if a large number of errors occur 2015-11-16 10:09:29 +00:00