d6c0175580
Both the enumerations for UL/DL rates, delay data and the functions adda_{dl,ul}_rate_transform were duplicated for each MediaTek SoC dai-adda driver: move the common bits to a new mtk-dai-adda-common file and its header. While at it, also add the "mtk_" prefix to the exported functions. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://msgid.link/r/20240313110147.1267793-4-angelogioacchino.delregno@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
9 lines
322 B
Makefile
9 lines
322 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# platform driver
|
|
snd-soc-mtk-common-objs := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o
|
|
snd-soc-mtk-common-objs += mtk-dai-adda-common.o
|
|
|
|
obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
|
|
|
|
obj-$(CONFIG_SND_SOC_MTK_BTCVSD) += mtk-btcvsd.o
|