mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
qcacld-3.0: Enable to complie runtime PM feature
Currently the feature flag is enabled at a wrong place since CDEFINES will be reset later. Move it to the correct place in order to compile the feature by default. To enable this feature, the corresponding ini configs need to be set properly. Change-Id: I22e3c3ac7c81c12700bfa6bb78cc84c20e3e331f CRs-fixed: 2023358
This commit is contained in:
parent
b14663f00a
commit
2b09131260
1 changed files with 7 additions and 7 deletions
14
Kbuild
14
Kbuild
|
|
@ -348,13 +348,6 @@ ifeq ($(CONFIG_ROME_IF),pci)
|
|||
CONFIG_EXT_WOW := 1
|
||||
endif
|
||||
|
||||
# Flag to enable bus auto suspend
|
||||
ifeq ($(CONFIG_ROME_IF),pci)
|
||||
ifeq ($(CONFIG_BUS_AUTO_SUSPEND), y)
|
||||
CDEFINES += -DFEATURE_RUNTIME_PM
|
||||
endif
|
||||
endif
|
||||
|
||||
#Set this to 1 to catch erroneous Target accesses during debug.
|
||||
CONFIG_ATH_PCIE_ACCESS_DEBUG := 0
|
||||
|
||||
|
|
@ -1515,6 +1508,13 @@ CDEFINES += -DCONFIG_PLD_PCIE_CNSS
|
|||
CDEFINES += -DCONFIG_PLD_PCIE_INIT
|
||||
endif
|
||||
|
||||
# Flag to enable bus auto suspend
|
||||
ifeq ($(CONFIG_ROME_IF),pci)
|
||||
ifeq ($(CONFIG_BUS_AUTO_SUSPEND), y)
|
||||
CDEFINES += -DFEATURE_RUNTIME_PM
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ICNSS), y)
|
||||
CDEFINES += -DCONFIG_PLD_SNOC_ICNSS
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue