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

Commit 8de1e89d authored by Karthikeyan Mani's avatar Karthikeyan Mani Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: mbhc: Support ADC/LEGACY switch for module option



Modify compile switch selection for ADC/LEGACY
detection to add support for both built in and module
compilation for mbhc.

CRs-fixed: 2073545
Change-Id: I9975e8b87ea3e3ee3ab04b37682ba6f5fb2bf9c1
Signed-off-by: default avatarKarthikeyan Mani <kmani@codeaurora.org>
parent a262fffa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ enum wcd_mbhc_detect_logic {
	WCD_DETECTION_ADC,
};

#ifdef CONFIG_SND_SOC_WCD_MBHC_ADC
#if IS_ENABLED(CONFIG_SND_SOC_WCD_MBHC_ADC)
#define WCD_MBHC_DETECTION	WCD_DETECTION_ADC
#else
#define WCD_MBHC_DETECTION	WCD_DETECTION_LEGACY