summaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/gx-card.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2024-10-24 03:29:27 +0200
committerMark Brown <broonie@kernel.org>2024-11-01 15:48:11 +0100
commitb19f75df8fa9f8d4aa8b5886dca0f2d832a76baa (patch)
tree23c9025fc502005cb347e55c7d5c944007166f24 /sound/soc/meson/gx-card.c
parentASoC: fsl: switch to use rtd->id from rtd->num (diff)
downloadlinux-b19f75df8fa9f8d4aa8b5886dca0f2d832a76baa.tar.xz
linux-b19f75df8fa9f8d4aa8b5886dca0f2d832a76baa.zip
ASoC: meson: switch to use rtd->id from rtd->num
Now rtd->num is renamed to rtd->id. Let's switch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://patch.msgid.link/87wmhyb85l.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/gx-card.c')
-rw-r--r--sound/soc/meson/gx-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/gx-card.c b/sound/soc/meson/gx-card.c
index 455f6bfc9f8f..b408cc2bbc91 100644
--- a/sound/soc/meson/gx-card.c
+++ b/sound/soc/meson/gx-card.c
@@ -32,7 +32,7 @@ static int gx_card_i2s_be_hw_params(struct snd_pcm_substream *substream,
struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card);
struct gx_dai_link_i2s_data *be =
- (struct gx_dai_link_i2s_data *)priv->link_data[rtd->num];
+ (struct gx_dai_link_i2s_data *)priv->link_data[rtd->id];
return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs);
}