summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c
diff options
context:
space:
mode:
authorTrevor Wu <trevor.wu@mediatek.com>2021-12-30 09:47:31 +0100
committerMark Brown <broonie@kernel.org>2021-12-31 14:20:58 +0100
commitdb5e1c209b92a67ab7c1d7771a48294c9c093f7c (patch)
tree36b3c3b888ef8deb56acdb0f8382f376808b7549 /sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c
parentASoC: mediatek: mt8195: correct pcmif BE dai control flow (diff)
downloadlinux-db5e1c209b92a67ab7c1d7771a48294c9c093f7c.tar.xz
linux-db5e1c209b92a67ab7c1d7771a48294c9c093f7c.zip
ASoC: mediatek: mt8195: add playback support to PCM1_BE dai_link
PCM1_BE should be a dai_link for both playback and capture. In the patch, the missing DPCM playback support is added. Signed-off-by: Trevor Wu <trevor.wu@mediatek.com> Link: https://lore.kernel.org/r/20211230084731.31372-3-trevor.wu@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c')
-rw-r--r--sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c b/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c
index 8adbd46c4bc4..5443a29da7b1 100644
--- a/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c
+++ b/sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c
@@ -1045,6 +1045,7 @@ static struct snd_soc_dai_link mt8195_mt6359_rt1011_rt5682_dai_links[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S |
SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_CBS_CFS,
+ .dpcm_playback = 1,
.dpcm_capture = 1,
SND_SOC_DAILINK_REG(PCM1_BE),
},