ASoC: rt1016: enable building
authorStephen Kitt <steve@sk2.org>
Tue, 5 Apr 2022 17:11:58 +0000 (19:11 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2022 22:37:58 +0000 (23:37 +0100)
The rt1016 driver wasn't listed in Kconfig and Makefile, which AFAICT
means it isn't ever built. This patch adds the appropriate entries to
Kconfig and Makefile.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Link: https://lore.kernel.org/r/20220405171158.2168762-1-steve@sk2.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile

index 33edfd0..82dced8 100644 (file)
@@ -170,6 +170,7 @@ config SND_SOC_ALL_CODECS
        imply SND_SOC_RT1011
        imply SND_SOC_RT1015
        imply SND_SOC_RT1015P
+       imply SND_SOC_RT1016
        imply SND_SOC_RT1019
        imply SND_SOC_RT1305
        imply SND_SOC_RT1308
@@ -1246,6 +1247,10 @@ config SND_SOC_RT1015P
        tristate
        depends on GPIOLIB
 
+config SND_SOC_RT1016
+       tristate
+       depends on I2C
+
 config SND_SOC_RT1019
        tristate
        depends on I2C
index 57e6515..c943f10 100644 (file)
@@ -185,6 +185,7 @@ snd-soc-rl6347a-objs := rl6347a.o
 snd-soc-rt1011-objs := rt1011.o
 snd-soc-rt1015-objs := rt1015.o
 snd-soc-rt1015p-objs := rt1015p.o
+snd-soc-rt1016-objs := rt1016.o
 snd-soc-rt1019-objs := rt1019.o
 snd-soc-rt1305-objs := rt1305.o
 snd-soc-rt1308-objs := rt1308.o
@@ -530,6 +531,7 @@ obj-$(CONFIG_SND_SOC_RL6347A)       += snd-soc-rl6347a.o
 obj-$(CONFIG_SND_SOC_RT1011)   += snd-soc-rt1011.o
 obj-$(CONFIG_SND_SOC_RT1015)   += snd-soc-rt1015.o
 obj-$(CONFIG_SND_SOC_RT1015P)  += snd-soc-rt1015p.o
+obj-$(CONFIG_SND_SOC_RT1016)   += snd-soc-rt1016.o
 obj-$(CONFIG_SND_SOC_RT1019)   += snd-soc-rt1019.o
 obj-$(CONFIG_SND_SOC_RT1305)   += snd-soc-rt1305.o
 obj-$(CONFIG_SND_SOC_RT1308)   += snd-soc-rt1308.o