diff options
| author | Mark Brown <broonie@kernel.org> | 2026-10-01 15:00:50 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-01 15:00:50 +0100 |
| commit | 289b8ea1171a5e5ebc8d97ffb559774a70e045e3 (patch) | |
| tree | 4457d311751b9947bda8c2a4e2365d454e5f6168 /sound/soc/codecs/rt9120.c | |
| parent | 6cdd2fcc51988af989c24e09b970ea79afe47984 (diff) | |
| parent | 0fbfaeecfd6f5925bfcd7cfcbd62860a9e868619 (diff) | |
| download | linux-next-289b8ea1171a5e5ebc8d97ffb559774a70e045e3.tar.gz linux-next-289b8ea1171a5e5ebc8d97ffb559774a70e045e3.zip | |
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
Diffstat (limited to 'sound/soc/codecs/rt9120.c')
| -rw-r--r-- | sound/soc/codecs/rt9120.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt9120.c b/sound/soc/codecs/rt9120.c index e51cd4a31894..1445e823c4ff 100644 --- a/sound/soc/codecs/rt9120.c +++ b/sound/soc/codecs/rt9120.c @@ -289,9 +289,18 @@ static int rt9120_hw_params(struct snd_pcm_substream *substream, return 0; } +static const u64 rt9120_selectable_formats = + SND_SOC_POSSIBLE_DAIFMT_I2S | + SND_SOC_POSSIBLE_DAIFMT_RIGHT_J | + SND_SOC_POSSIBLE_DAIFMT_LEFT_J | + SND_SOC_POSSIBLE_DAIFMT_DSP_A | + SND_SOC_POSSIBLE_DAIFMT_DSP_B; + static const struct snd_soc_dai_ops rt9120_dai_ops = { .set_fmt = rt9120_set_fmt, .hw_params = rt9120_hw_params, + .auto_selectable_formats = &rt9120_selectable_formats, + .num_auto_selectable_formats = 1, }; static struct snd_soc_dai_driver rt9120_dai = { |
