cnss2: Support compile flag CONFIG_CNSS_REQ_FW_DIRECT

Support CONFIG_CNSS_REQ_FW_DIRECT compile flag passing
from external to use request_firmware_direct instead of
firmware_request_nowarn to avoid regdb.bin search failure
with qcn7605 that finally cause kernel panic on the LV
platform.

Change-Id: I2431692465298c841bf63add44187c15e68a9742
CRs-Fixed: 3413712
This commit is contained in:
Chaoli Zhou
2023-02-22 16:12:08 +08:00
committato da Madan Koyyalamudi
parent 5c7494ce4a
commit b4a9230200

4
Kbuild
Vedi File

@@ -36,6 +36,10 @@ ifeq ($(CONFIG_CNSS2_CONDITIONAL_POWEROFF),y)
KBUILD_CPPFLAGS += -DCONFIG_CNSS2_CONDITIONAL_POWEROFF
endif
ifeq ($(CONFIG_CNSS_REQ_FW_DIRECT),y)
KBUILD_CPPFLAGS += -DCONFIG_CNSS_REQ_FW_DIRECT
endif
ifeq ($(CONFIG_CNSS_SUPPORT_DUAL_DEV),y)
KBUILD_CPPFLAGS += -DCONFIG_CNSS_SUPPORT_DUAL_DEV
endif