From fe28770307e9664360c6f7ea676edaa1cedaec2c Mon Sep 17 00:00:00 2001 From: Nirav Shah Date: Sun, 8 Jul 2018 12:51:55 +0530 Subject: [PATCH] qcacld-3.0: Enable Debugfs in usb/sdio debug build Enable Debugfs in usb/sdio debug build for Genoa. Change-Id: I3515efffce1091c8233f4aad769dc5debb05ad15 CRs-Fixed: 2274862 --- configs/genoa.sdio.debug_defconfig | 5 +++++ configs/genoa.usb.debug_defconfig | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/configs/genoa.sdio.debug_defconfig b/configs/genoa.sdio.debug_defconfig index 6b72e9918e1e..2ef3b9c9aef3 100644 --- a/configs/genoa.sdio.debug_defconfig +++ b/configs/genoa.sdio.debug_defconfig @@ -22,6 +22,11 @@ CONFIG_MPC_UT_FRAMEWORK := y CONFIG_FEATURE_EPPING := y CONFIG_WLAN_FEATURE_P2P_DEBUG := y +ifeq ($(CONFIG_DEBUG_FS), y) + CONFIG_WLAN_DEBUGFS := y + CONFIG_WLAN_POWER_DEBUGFS := y +endif + # Features gets enabled on slub debug CONFIG_FEATURE_PKTLOG := y CONFIG_WLAN_DEBUG_CRASH_INJECT := y diff --git a/configs/genoa.usb.debug_defconfig b/configs/genoa.usb.debug_defconfig index a40dc5df3cd8..7e8b4c9b15cc 100644 --- a/configs/genoa.usb.debug_defconfig +++ b/configs/genoa.usb.debug_defconfig @@ -19,6 +19,11 @@ CONFIG_MPC_UT_FRAMEWORK := y CONFIG_FEATURE_EPPING := y CONFIG_WLAN_FEATURE_P2P_DEBUG := y +ifeq ($(CONFIG_DEBUG_FS), y) + CONFIG_WLAN_DEBUGFS := y + CONFIG_WLAN_POWER_DEBUGFS := y +endif + # Features gets enabled on slub debug CONFIG_FEATURE_PKTLOG := y CONFIG_WLAN_DEBUG_CRASH_INJECT := y