ASoC: meson: use .auto_selectable_formats

We can use .auto_selectable_formats. Let's adds it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://patch.msgid.link/87ik7ahvi9.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2026-06-23 01:54:06 +00:00 committed by Mark Brown
parent 946ddf03d0
commit 2b7f2b7a2a
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -78,8 +78,14 @@ static int t9015_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
return 0;
}
static const u64 t9015_dai_selectable_formats =
SND_SOC_POSSIBLE_DAIFMT_I2S |
SND_SOC_POSSIBLE_DAIFMT_LEFT_J;
static const struct snd_soc_dai_ops t9015_dai_ops = {
.set_fmt = t9015_dai_set_fmt,
.auto_selectable_formats = &t9015_dai_selectable_formats,
.num_auto_selectable_formats = 1,
};
static struct snd_soc_dai_driver t9015_dai = {