mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
ASoC: Tas2560: define TAS2560 series macro according product.
- Currently we suppose only channel use TAS2560 - Fix river build error error: implicit declaration of function 'tas2560_algo_afe_apr_send_pkt' [-Werror=implicit-function-declaration] Change-Id: Ie272ac03cb41a0b8123779c5eb132ab1811dc2af Reviewed-on: https://gerrit.mot.com/1205011 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Wen Xie <xiewen3@motorola.com> Reviewed-by: Guobin Zhang <zhanggb@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ce6de67522
commit
d196618a41
1 changed files with 3 additions and 0 deletions
|
|
@ -15,7 +15,10 @@ EXTRA_CFLAGS += -I$(TOP)/kernel/techpack/audio/include/uapi
|
|||
endif
|
||||
|
||||
EXTRA_CFLAGS += -DCONFIG_SND_SOC_AOV_TRIGGER -DCONFIG_SND_SOC_OPALUM
|
||||
|
||||
ifneq (,$(filter channel%, $(TARGET_PRODUCT)))
|
||||
EXTRA_CFLAGS += -DCONFIG_TAS2560_REGMAP -DCONFIG_TAS2560_CODEC -DCONFIG_TAS2560_MISC -DCONFIG_SND_SOC_TAS2560
|
||||
endif
|
||||
|
||||
ifeq ($(KDIR),)
|
||||
PLMA_HOSTSW_DIR=$(realpath -f $(srctree)/$(src))
|
||||
|
|
|
|||
Loading…
Reference in a new issue