diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-05-15 03:47:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-18 18:15:11 +0300 |
commit | 1f79aab5a44871286d414eb2a289aaeea4236fd1 (patch) | |
tree | 37997944390232f5ddd2c6e4c0eb8766ed67f620 | |
parent | 7995981bcfbc150902395af4191a77c9f4b842cd (diff) | |
download | linux-1f79aab5a44871286d414eb2a289aaeea4236fd1.tar.xz |
ASoC: meson: use snd_soc_xxx_active()
We have snd_soc_dai/dai_stream/component_active() macro
This patch uses it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87pnb658if.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/meson/axg-tdm-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/axg-tdm-interface.c b/sound/soc/meson/axg-tdm-interface.c index d51f3344be7c..6de27238e9df 100644 --- a/sound/soc/meson/axg-tdm-interface.c +++ b/sound/soc/meson/axg-tdm-interface.c @@ -149,7 +149,7 @@ static int axg_tdm_iface_startup(struct snd_pcm_substream *substream, } /* Apply component wide rate symmetry */ - if (dai->component->active) { + if (snd_soc_component_active(dai->component)) { ret = snd_pcm_hw_constraint_single(substream->runtime, SNDRV_PCM_HW_PARAM_RATE, iface->rate); |