diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-08-10 00:07:38 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-10 16:07:04 +0100 |
commit | b6e58fcacb3edc6245ecf700207ba675cba18018 (patch) | |
tree | d1823179d29faaf9c8a42adea031a4719e1778f4 /sound/soc/sh/rcar/core.c | |
parent | bf9b29c784b393d1e506945f1e24e871d2587eb3 (diff) |
ASoC: rsnd: call request_irq/free_irq once in MIX case
Each module's dai callback function availability is controlled
by mod->status. For example "always called", "call once".
In .probe/.remove case, it needs to be called always, because
.probe will call xxx_attach() function on .probe, especially
if platform is using MIXer.
For example, below case, MIX0/DVC0/SSI0 needs to be called twice.
playback = <&src0 &ctu02 &mix0 &dvc0 &ssi0>;
playback = <&src2 &ctu03 &mix0 &dvc0 &ssi0>;
But in this case, SSI0 will call request_irq() twice.
This patch add new RSND_SSI_PROBED flag and control it
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/core.c')
0 files changed, 0 insertions, 0 deletions