summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
diff options
context:
space:
mode:
authorKai Chieh Chuang <kaichieh.chuang@mediatek.com>2018-05-31 03:26:19 +0200
committerMark Brown <broonie@kernel.org>2018-05-31 12:25:04 +0200
commit314b355f55b53bc3cfc0380b46192dafb5893fcb (patch)
treed188812865fe7a0b589ca4d06a78d089d2b11b6c /sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
parentASoC: mediatek: export mtk-afe symbols as needed (diff)
downloadlinux-314b355f55b53bc3cfc0380b46192dafb5893fcb.tar.xz
linux-314b355f55b53bc3cfc0380b46192dafb5893fcb.zip
ASoC: mt6797: add PCM interface
Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt6797/mt6797-afe-pcm.c')
-rw-r--r--sound/soc/mediatek/mt6797/mt6797-afe-pcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c b/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
index 1286c6ee97cb..d9379888ae49 100644
--- a/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
+++ b/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
@@ -819,6 +819,7 @@ static int mt6797_afe_pcm_dev_probe(struct platform_device *pdev)
return -ENOMEM;
mt6797_dai_adda_register(afe);
+ mt6797_dai_pcm_register(afe);
afe->sub_dais[MT6797_MEMIF_DL1].dai_drivers = mt6797_memif_dai_driver;
afe->sub_dais[MT6797_MEMIF_DL1].num_dai_drivers =