aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt6797/mt6797-afe-common.h
diff options
context:
space:
mode:
authorKai Chieh Chuang <kaichieh.chuang@mediatek.com>2018-05-31 09:26:19 +0800
committerMark Brown <broonie@kernel.org>2018-05-31 11:25:04 +0100
commit314b355f55b53bc3cfc0380b46192dafb5893fcb (patch)
treed188812865fe7a0b589ca4d06a78d089d2b11b6c /sound/soc/mediatek/mt6797/mt6797-afe-common.h
parentASoC: mediatek: export mtk-afe symbols as needed (diff)
downloadlinux-dev-314b355f55b53bc3cfc0380b46192dafb5893fcb.tar.xz
linux-dev-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-common.h')
-rw-r--r--sound/soc/mediatek/mt6797/mt6797-afe-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-common.h b/sound/soc/mediatek/mt6797/mt6797-afe-common.h
index d53654f6e8aa..85d2a3cb1d10 100644
--- a/sound/soc/mediatek/mt6797/mt6797-afe-common.h
+++ b/sound/soc/mediatek/mt6797/mt6797-afe-common.h
@@ -24,6 +24,8 @@ enum {
MT6797_MEMIF_MOD_DAI,
MT6797_MEMIF_NUM,
MT6797_DAI_ADDA = MT6797_MEMIF_NUM,
+ MT6797_DAI_PCM_1,
+ MT6797_DAI_PCM_2,
MT6797_DAI_NUM,
};
@@ -49,4 +51,5 @@ unsigned int mt6797_rate_transform(struct device *dev,
/* dai register */
int mt6797_dai_adda_register(struct mtk_base_afe *afe);
+int mt6797_dai_pcm_register(struct mtk_base_afe *afe);
#endif