From 52be60c41f12e7e9192b67a8f28f1a11c5f008e5 Mon Sep 17 00:00:00 2001 From: Ramlal Karra Date: Thu, 30 Jan 2020 14:03:18 +0530 Subject: [PATCH] ASoC: wsa883x: Enable WSA883x codec driver compilation. Enable WSA883x codec driver compilation support. Change-Id: I263e4eb0e2446c345b250df9e484f380164e77e2 Signed-off-by: Ramlal Karra --- asoc/codecs/wsa883x/Kbuild | 4 ++++ config/litoauto.conf | 1 + config/litoautoconf.h | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/asoc/codecs/wsa883x/Kbuild b/asoc/codecs/wsa883x/Kbuild index b3a5954ee614..6cda76756dc2 100644 --- a/asoc/codecs/wsa883x/Kbuild +++ b/asoc/codecs/wsa883x/Kbuild @@ -18,6 +18,10 @@ ifeq ($(KERNEL_BUILD), 0) include $(AUDIO_ROOT)/config/lahainaauto.conf INCS += -include $(AUDIO_ROOT)/config/lahainaautoconf.h endif + ifeq ($(CONFIG_ARCH_LITO), y) + include $(AUDIO_ROOT)/config/litoauto.conf + INCS += -include $(AUDIO_ROOT)/config/litoautoconf.h + endif endif # As per target team, build is done as follows: diff --git a/config/litoauto.conf b/config/litoauto.conf index 79cdfef5b407..6921402f67f8 100644 --- a/config/litoauto.conf +++ b/config/litoauto.conf @@ -3,6 +3,7 @@ CONFIG_AUDIO_EXT_CLK=m CONFIG_SND_SOC_WCD9XXX_V2=m CONFIG_SND_SOC_WCD_MBHC=m CONFIG_SND_SOC_WSA881X=m +CONFIG_SND_SOC_WSA883X=m CONFIG_WCD9XXX_CODEC_CORE_V2=m CONFIG_MSM_CDC_PINCTRL=m CONFIG_MSM_QDSP6V2_CODECS=m diff --git a/config/litoautoconf.h b/config/litoautoconf.h index 6628c0bd13c9..e99d404e1f15 100644 --- a/config/litoautoconf.h +++ b/config/litoautoconf.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (c) 2019, The Linux Foundation. All rights reserved. +/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. */ #define CONFIG_PINCTRL_LPI 1 @@ -7,6 +7,7 @@ #define CONFIG_SND_SOC_WCD9XXX_V2 1 #define CONFIG_SND_SOC_WCD_MBHC 1 #define CONFIG_SND_SOC_WSA881X 1 +#define CONFIG_SND_SOC_WSA883X 1 #define CONFIG_WCD9XXX_CODEC_CORE_V2 1 #define CONFIG_MSM_CDC_PINCTRL 1 #define CONFIG_MSM_QDSP6V2_CODECS 1