Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b1f0d1b authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wsa881x: Add loadable module support for WSA



Add support to compile WSA as a loadable module.
Move WSA kconfig tristate selection under the
machine driver loadable module kconfig.

Change-Id: If80208c85af44c06d951dbcd764d03f6511c1da8
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 59861173
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -900,10 +900,14 @@ config SND_SOC_WCD934X_MBHC
	select SND_SOC_WCD_MBHC
	select SND_SOC_WCD_MBHC_ADC

config REGMAP_SWR
	tristate
	default y

config SND_SOC_WSA881X
        tristate
	depends on REGMAP_SWR
	select MSM_CDC_PINCTRL
	select REGMAP_SWR

config SND_SOC_WSA881X_ANALOG
        tristate
+2 −2
Original line number Diff line number Diff line
@@ -194,6 +194,7 @@ config SND_SOC_MSM8996

config SND_SOC_MACHINE_MSM8998
	tristate "SoC Machine driver for MSM8998 boards"
	select SND_SOC_WSA881X

	help
	To enable the machine driver and the
@@ -216,7 +217,6 @@ config SND_SOC_MSM8998
	select MSM_QDSP6V2_CODECS
	select SND_SOC_WCD9335
	select SND_SOC_WCD934X
	select SND_SOC_WSA881X
	select SND_SOC_MSM_HDMI_CODEC_RX
	select DTS_SRS_TM
	select QTI_PP
@@ -246,6 +246,7 @@ config SND_SOC_660

config SND_SOC_MACHINE_SDM845
	tristate "SoC Machine driver for SDM845 boards"
	select SND_SOC_WSA881X

	help
	To enable the machine driver and the
@@ -267,7 +268,6 @@ config SND_SOC_SDM845
	select MSM_QDSP6_NOTIFIER
	select MSM_QDSP6V2_CODECS
	select SND_SOC_WCD934X
	select SND_SOC_WSA881X
	select DTS_SRS_TM
	select QTI_PP
	select MSM_ULTRASOUND
+2 −2
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ obj-$(CONFIG_SND_SOC_MSM8996) += snd-soc-msm8996.o

# for MSM8998 sound card driver
snd-soc-msm8998-objs := msm8998.o
obj-$(CONFIG_SND_SOC_MSM8998) += snd-soc-msm8998.o
obj-$(CONFIG_SND_SOC_MACHINE_MSM8998) += snd-soc-msm8998.o

# for SDM660 sound card driver
snd-soc-sdm660-common-objs := sdm660-common.o
@@ -36,4 +36,4 @@ obj-$(CONFIG_SND_SOC_EXT_CODEC) += snd-soc-ext-codec.o

# for SDM845 sound card driver
snd-soc-sdm845-objs := sdm845.o
obj-$(CONFIG_SND_SOC_SDM845) += snd-soc-sdm845.o
obj-$(CONFIG_SND_SOC_MACHINE_SDM845) += snd-soc-sdm845.o