summaryrefslogtreecommitdiffstats
path: root/sound/soc/generic/Makefile
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-05-31 11:00:14 +0200
committerMark Brown <broonie@kernel.org>2016-06-29 20:12:30 +0200
commitabd3147e69481caade441e8d8296fa3f541aea03 (patch)
tree7b72620e5dccd1215deaaaed4461922ad29712a6 /sound/soc/generic/Makefile
parentASoC: simple-card: add new asoc_simple_jack and use it (diff)
downloadlinux-abd3147e69481caade441e8d8296fa3f541aea03.tar.xz
linux-abd3147e69481caade441e8d8296fa3f541aea03.zip
ASoC: add new simple-card-utils.c
Current ALSA SoC has simple-card driver which is supporting both platform and DT probe. Now, some sound cards driver are created based on simple-card. They have similar feature or function, but implemented separately on each drivers. This is a waste of code. OTOH, merging these driver into same driver is highly risk, because it will be very difficult to keep compatibility. More over, ALSA SoC want to have graph base of DT feature in the future. Maybe it want to use simple-card like feature / function. Because of these background, this patch creates simple-card helper utils, and provides common function to each drivers. 1st is asoc_simple_card_parse_daifmt() Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic/Makefile')
-rw-r--r--sound/soc/generic/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/generic/Makefile b/sound/soc/generic/Makefile
index 9c3b246792bf..45602ca8536e 100644
--- a/sound/soc/generic/Makefile
+++ b/sound/soc/generic/Makefile
@@ -1,3 +1,5 @@
+obj-$(CONFIG_SND_SIMPLE_CARD_UTILS) := simple-card-utils.o
+
snd-soc-simple-card-objs := simple-card.o
obj-$(CONFIG_SND_SIMPLE_CARD) += snd-soc-simple-card.o