ASoC: rsnd: add .irq callback
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 26 Jan 2016 04:56:57 +0000 (04:56 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 27 Jan 2016 12:22:24 +0000 (12:22 +0000)
commitb5b442abd9d5cfe4f04a1e83be9900c87444bd66
tree770d58181a747541e8baa969e6694a590618ac83
parent6a25c8da00284f5612b404368bd07b69efd84aa2
ASoC: rsnd: add .irq callback

Current rsnd driver has .init/.start/.stop/.quit callbacks,
and it needs many IPs (SRC/CTU/MUX/DVC/CMD/SSIU/SSI).
Because of these relationship, it might get unnecessary
error IRQ when start/stop.
This patch adds new .irq callback and control IRQ enable/disable
timing to avoid it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/ssi.c