summaryrefslogtreecommitdiff
path: root/sound/soc/meson/axg-tdmin.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-01-31 02:00:57 +0000
committerMark Brown <broonie@kernel.org>2023-01-31 11:05:03 +0000
commitc765ceda78f0bd9df1217f9beaefea58ecf3865c (patch)
tree873ecf3fdd6f13f173a4270d537e7292f0f6e81e /sound/soc/meson/axg-tdmin.c
parent0df2ec8e4706a6adc36d12cc5cf8e1fa7485fbf5 (diff)
ASoC: meson: use helper function
Current ASoC has many helper function. This patch use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/87r0vbea3r.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/axg-tdmin.c')
-rw-r--r--sound/soc/meson/axg-tdmin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/axg-tdmin.c b/sound/soc/meson/axg-tdmin.c
index 49b613a1faf2..c8f6ea24ae78 100644
--- a/sound/soc/meson/axg-tdmin.c
+++ b/sound/soc/meson/axg-tdmin.c
@@ -83,7 +83,7 @@ axg_tdmin_get_tdm_stream(struct snd_soc_dapm_widget *w)
if (!be)
return NULL;
- return be->capture_dma_data;
+ return snd_soc_dai_dma_data_get_capture(be);
}
static void axg_tdmin_enable(struct regmap *map)