diff mbox series

[3/4] ASoC: mediatek: mt8183-da7219: support TDM out and 8ch I2S out

Message ID 20200203151250.3.I30f0b8c87d5ec2a0e5f1b0fabf0a8ccef374f5ea@changeid (mailing list archive)
State New, archived
Headers show
Series ASoC: mediatek: mt8183-da7219: pick fixes from mt8183-mt6358 | expand

Commit Message

Tzung-Bi Shih Feb. 3, 2020, 8:27 a.m. UTC
Supports TDM out and 8ch I2S out.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
---
 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
index 450fb1efa239..7052210e8325 100644
--- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
+++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
@@ -450,6 +450,9 @@  static struct snd_soc_dai_link mt8183_da7219_max98357_dai_links[] = {
 	{
 		.name = "TDM",
 		.no_pcm = 1,
+		.dai_fmt = SND_SOC_DAIFMT_I2S |
+			   SND_SOC_DAIFMT_IB_IF |
+			   SND_SOC_DAIFMT_CBM_CFM,
 		.dpcm_playback = 1,
 		.ignore_suspend = 1,
 		.be_hw_params_fixup = mt8183_i2s_hw_params_fixup,