ASoC: rsnd: don't call free_irq() on Parent SSI
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 16 May 2017 01:48:24 +0000 (01:48 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 May 2017 16:32:09 +0000 (17:32 +0100)
commit1f8754d4daea5f257370a52a30fcb22798c54516
tree8b290dd9d05c5cf33da372b5cf2071104641d1a9
parent90431eb49bff6d79814cbf0c96e13597ad53095c
ASoC: rsnd: don't call free_irq() on Parent SSI

If SSI uses shared pin, some SSI will be used as parent SSI.
Then, normal SSI's remove and Parent SSI's remove
(these are same SSI) will be called when unbind or remove timing.
In this case, free_irq() will be called twice.
This patch solve this issue.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Reported-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c