qcacld: Kbuild: Control Runtime PM with config parameter
Control Runtime PM with kernel config parameter.
Change-Id: I91bc8ad91c4334b447c1f2e98afc2805326ae06e
CRs-Fixed: 892948
diff --git a/Kbuild b/Kbuild
index efc814e..73132e0 100644
--- a/Kbuild
+++ b/Kbuild
@@ -242,13 +242,6 @@
CONFIG_EXT_WOW := 1
endif
-# Enable bus auto suspend for PCIe
-ifeq ($(CONFIG_ROME_IF),pci)
- ifeq ($(CONFIG_CNSS),y)
- CONFIG_BUS_AUTO_SUSPEND := 1
- endif
-endif
-
#Set this to 1 to catch erroneous Target accesses during debug.
CONFIG_ATH_PCIE_ACCESS_DEBUG := 0
@@ -1332,7 +1325,7 @@
endif
# Flag to enable bus auto suspend
-ifeq ($(CONFIG_BUS_AUTO_SUSPEND), 1)
+ifeq ($(CONFIG_BUS_AUTO_SUSPEND), y)
CDEFINES += -DFEATURE_RUNTIME_PM
endif