codec: Don't default to CS35L41 SPI codec.

Some targets may not use CS35L41 AMP. Do not default to the
SPI codec as it may break the build.

Change-Id: Ie5e0da0e9a7318a99480f97df73620ea51e11d28
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1196742
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
This commit is contained in:
Ravi Vembu 2018-06-20 15:23:09 -05:00 • committed by Ravikumar Vembu
commit 20fae43331

View file

@ -52,7 +52,7 @@ include $(DLKM_DIR)/AndroidKernelModule.mk
include $(CLEAR_VARS)
ifeq ($(CIRRUS_AMP_CODEC),cs35l41_spi)
KERNEL_CFLAGS += CONFIG_SND_SOC_CS35L41_SPI=y
else
else ifeq ($(CIRRUS_AMP_CODEC),cs35l41_i2c)
KERNEL_CFLAGS += CONFIG_SND_SOC_CS35L41_I2C=y
endif
LOCAL_MODULE := cirrus_cs35l41.ko