Skip to content

Commit

Permalink
ASoC: mediatek: mt8195: add playback support to PCM1_BE dai_link
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
wenliangwu authored and broonie committed Dec 31, 2021
1 parent 2355028 commit db5e1c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
Expand Down
1 change: 1 addition & 0 deletions sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@ static struct snd_soc_dai_link mt8195_mt6359_rt1019_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),
},
Expand Down

0 comments on commit db5e1c2

Please sign in to comment.