Message ID | 87k11j8145.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Accepted |
Commit | 25d6755213f42ecf0c89f8619747be45e71382ac |
Headers | show |
Series | [01/17] ASoC: soc-dai: add snd_soc_dai_activity() | expand |
diff --git a/sound/soc/uniphier/aio-cpu.c b/sound/soc/uniphier/aio-cpu.c index fdaa6522720f..f717daf3f820 100644 --- a/sound/soc/uniphier/aio-cpu.c +++ b/sound/soc/uniphier/aio-cpu.c @@ -424,7 +424,7 @@ static void uniphier_aio_dai_suspend(struct snd_soc_dai *dai) { struct uniphier_aio *aio = uniphier_priv(dai); - if (!dai->active) + if (!snd_soc_dai_activity(dai)) return; aio->chip->num_wup_aios--; @@ -448,7 +448,7 @@ static int uniphier_aio_dai_resume(struct snd_soc_dai *dai) struct uniphier_aio *aio = uniphier_priv(dai); int ret, i; - if (!dai->active) + if (!snd_soc_dai_activity(dai)) return 0; if (!aio->chip->active)