ASoC: codecs: Compile wcd irq as part of CONFIG_SND_SOC_WCD_IRQ

Add separate config for generic IRQ using regmap-irq and
compile it as a part of wcd_core ko.

Change-Id: I844ad72bf039c851a67d968e4b67c10105389932
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
Vatsal Bucha 2018-07-24 11:28:04 +05:30 committed by Gerrit - the friendly Code Review server
parent 485ec2c851
commit ec5eab5556

View file

@ -141,6 +141,10 @@ ifdef CONFIG_SND_SOC_MSM_HDMI_CODEC_RX
HDMICODEC_OBJS += msm_hdmi_codec_rx.o
endif
ifdef CONFIG_SND_SOC_WCD_IRQ
CORE_OBJS += wcd-irq.o
endif
LINUX_INC += -Iinclude/linux
INCS += $(COMMON_INC) \