ASoC: sh: 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>
Link: https://patch.msgid.link/87v7xib85e.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2024-10-24 01:29:34 +00:00 committed by Mark Brown
parent b19f75df8f
commit 970a874b76
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -1843,7 +1843,7 @@ int rsnd_kctrl_new(struct rsnd_mod *mod,
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = name,
.info = rsnd_kctrl_info,
.index = rtd->num,
.index = rtd->id,
.get = rsnd_kctrl_get,
.put = rsnd_kctrl_put,
};