summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sh')
-rw-r--r--sound/soc/sh/rcar/ssi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c
index c5c4510afb2d..90c3f58821db 100644
--- a/sound/soc/sh/rcar/ssi.c
+++ b/sound/soc/sh/rcar/ssi.c
@@ -149,13 +149,12 @@ static int rsnd_ssi_irq(struct rsnd_mod *mod,
struct rsnd_priv *priv,
int enable)
{
- struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod);
u32 val = 0;
if (rsnd_is_gen1(priv))
return 0;
- if (ssi->usrcnt != 1)
+ if (rsnd_ssi_is_parent(mod, io))
return 0;
if (enable)
OpenPOWER on IntegriCloud