Commit 42a589e8 authored by KaiChieh Chuang's avatar KaiChieh Chuang Committed by Mark Brown

ASoC: mt6797: extract DAI adda in separate file

Signed-off-by: default avatarKaiChieh Chuang <kaichieh.chuang@mediatek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 13be427e
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
# platform driver # platform driver
snd-soc-mt6797-afe-objs := mt6797-afe-pcm.o mt6797-afe-clk.o snd-soc-mt6797-afe-objs := \
mt6797-afe-pcm.o \
mt6797-afe-clk.o \
mt6797-dai-adda.o
obj-$(CONFIG_SND_SOC_MT6797) += snd-soc-mt6797-afe.o obj-$(CONFIG_SND_SOC_MT6797) += snd-soc-mt6797-afe.o
# machine driver # machine driver
......
...@@ -46,4 +46,7 @@ unsigned int mt6797_general_rate_transform(struct device *dev, ...@@ -46,4 +46,7 @@ unsigned int mt6797_general_rate_transform(struct device *dev,
unsigned int rate); unsigned int rate);
unsigned int mt6797_rate_transform(struct device *dev, unsigned int mt6797_rate_transform(struct device *dev,
unsigned int rate, int aud_blk); unsigned int rate, int aud_blk);
/* dai register */
int mt6797_dai_adda_register(struct mtk_base_afe *afe);
#endif #endif
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment