ASOC: add support to disable WSA881x temperature sensor

Add support to disable compilation of temperature sensor for
wsa881x analog module, when not needed.

Change-Id: I054e90d4b1abae3c0cdc6623b1f688120ba87dbd
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
This commit is contained in:
Vangala, Amarnath
2020-09-13 01:02:56 +05:30
rodzic c896ed2237
commit 76e5e82e79
2 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@@ -164,8 +164,10 @@ ifdef CONFIG_SND_SOC_WSA881X_ANALOG
WSA881X_ANALOG_OBJS += wsa881x-analog.o
WSA881X_ANALOG_OBJS += wsa881x-tables-analog.o
WSA881X_ANALOG_OBJS += wsa881x-regmap-analog.o
ifndef CONFIG_WSA881X_TEMP_SENSOR_DISABLE
WSA881X_ANALOG_OBJS += wsa881x-temp-sensor.o
endif
endif
ifdef CONFIG_SND_SOC_MSM_STUB
STUB_OBJS += msm_stub.o
endif