summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/mt8195/Makefile
diff options
context:
space:
mode:
authorTrevor Wu <trevor.wu@mediatek.com>2022-03-24 08:38:47 +0300
committerMark Brown <broonie@kernel.org>2022-04-04 10:39:38 +0300
commit094e30efa444a118a535cb67ec000bbee9f8d150 (patch)
treed674389e537b4d6e7604dd7c15b9f1af7026c927 /sound/soc/mediatek/mt8195/Makefile
parent4dbc714fe07641e7a07731f82152448ef09f3002 (diff)
downloadlinux-094e30efa444a118a535cb67ec000bbee9f8d150.tar.xz
ASoC: mediatek: mt8195: merge machine driver
Because most functions can be reused in different codec combinations, mt8195 machine drivers are combined to one common file. The model and compatible string are used to decide which codecs are being used. As a result, We can prevent from copy-paste functions when new codec combination is introduced. Signed-off-by: Trevor Wu <trevor.wu@mediatek.com> Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220324053851.27350-3-trevor.wu@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt8195/Makefile')
-rw-r--r--sound/soc/mediatek/mt8195/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/mediatek/mt8195/Makefile b/sound/soc/mediatek/mt8195/Makefile
index e5f0df5010b6..aae673ec751b 100644
--- a/sound/soc/mediatek/mt8195/Makefile
+++ b/sound/soc/mediatek/mt8195/Makefile
@@ -12,5 +12,4 @@ snd-soc-mt8195-afe-objs := \
obj-$(CONFIG_SND_SOC_MT8195) += snd-soc-mt8195-afe.o
# machine driver
-obj-$(CONFIG_SND_SOC_MT8195_MT6359_RT1019_RT5682) += mt8195-mt6359-rt1019-rt5682.o
-obj-$(CONFIG_SND_SOC_MT8195_MT6359_RT1011_RT5682) += mt8195-mt6359-rt1011-rt5682.o
+obj-$(CONFIG_SND_SOC_MT8195_MT6359) += mt8195-mt6359.o