Bluetooth: audio - remove BT_AUDIO_DEBUG

Remove the BT_AUDIO_DEBUG Kconfig option.

Given that all the audio modules are guarded by the BT_AUDIO config,
it seems excessive to also have a separate guard for audio module
debug. It is sufficient that this is turned on/off module by module.

Note that the BT_AUDIO_DEBUG was also located in the wrong file - the
babs Kconfig file, not the main Kconfig file.

Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
This commit is contained in:
Asbjørn Sæbø 2022-02-17 10:08:00 +01:00 committed by Anas Nashif
parent 21fc1cc670
commit 34de2af394
10 changed files with 0 additions and 26 deletions

View file

@ -35,7 +35,6 @@ config BT_AICS_MAX_INPUT_DESCRIPTION_SIZE
config BT_DEBUG_AICS config BT_DEBUG_AICS
bool "Audio Input Control Service debug" bool "Audio Input Control Service debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Audio Input Control Service debug logs for Use this option to enable Audio Input Control Service debug logs for
the Bluetooth Audio functionality. the Bluetooth Audio functionality.
@ -66,7 +65,6 @@ if BT_AICS_CLIENT
config BT_DEBUG_AICS_CLIENT config BT_DEBUG_AICS_CLIENT
bool "Audio Input Control Service client debug" bool "Audio Input Control Service client debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Audio Input Control Service client debug Use this option to enable Audio Input Control Service client debug
logs for the Bluetooth Audio functionality. logs for the Bluetooth Audio functionality.

View file

@ -183,14 +183,6 @@ config BT_AUDIO_BROADCAST_SNK_STREAM_COUNT
endif # BT_AUDIO_BROADCAST_SINK endif # BT_AUDIO_BROADCAST_SINK
config BT_AUDIO_DEBUG
bool "Enable debug logs"
depends on BT_DEBUG
help
Use this option to enable debug logs for the Bluetooth
Audio functionality.
if BT_AUDIO_DEBUG
config BT_DEBUG_PACS config BT_DEBUG_PACS
bool "Published Audio Capabilities Service debug" bool "Published Audio Capabilities Service debug"
@ -248,7 +240,6 @@ config BT_AUDIO_DEBUG_BROADCAST_SINK
Use this option to enable Bluetooth Audio Broadcast Sink debug logs Use this option to enable Bluetooth Audio Broadcast Sink debug logs
for the Bluetooth Audio functionality. for the Bluetooth Audio functionality.
endif # BT_AUDIO_DEBUG
config BT_AUDIO_STREAM config BT_AUDIO_STREAM
# Virtual/hidden option # Virtual/hidden option

View file

@ -48,7 +48,6 @@ config BT_CSIS_MAX_INSTANCE_COUNT
config BT_DEBUG_CSIS config BT_DEBUG_CSIS
bool "Coordinated Set Identification Service debug" bool "Coordinated Set Identification Service debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Coordinated Set Identification Service debug Use this option to enable Coordinated Set Identification Service debug
logs for the Bluetooth Audio functionality. logs for the Bluetooth Audio functionality.
@ -98,7 +97,6 @@ config BT_CSIS_CLIENT_ENC_SIRK_SUPPORT
config BT_DEBUG_CSIS_CLIENT config BT_DEBUG_CSIS_CLIENT
bool "Coordinated Set Identification Profile debug" bool "Coordinated Set Identification Profile debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Coordinated Set Identification Profile debug Use this option to enable Coordinated Set Identification Profile debug
logs for the Bluetooth Audio functionality. logs for the Bluetooth Audio functionality.
@ -107,7 +105,6 @@ endif # BT_CSIS_CLIENT
config BT_DEBUG_CSIS_CRYPTO config BT_DEBUG_CSIS_CRYPTO
bool "Coordinated Set Identification Service crypto functions debug" bool "Coordinated Set Identification Service crypto functions debug"
depends on BT_AUDIO_DEBUG
depends on BT_CSIS_CLIENT || BT_CSIS depends on BT_CSIS_CLIENT || BT_CSIS
help help
Use this option to enable Coordinated Set Identification Service Use this option to enable Coordinated Set Identification Service

View file

@ -33,7 +33,6 @@ config BT_MCS_ICON_URL
config BT_DEBUG_MCS config BT_DEBUG_MCS
bool "Media Control Service debug" bool "Media Control Service debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Media Control Service debug logs for the Use this option to enable Media Control Service debug logs for the
Bluetooth Audio functionality. Bluetooth Audio functionality.
@ -110,7 +109,6 @@ config BT_MCC_SHELL
config BT_DEBUG_MCC config BT_DEBUG_MCC
bool "Media Control Client debug" bool "Media Control Client debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Media Control Client debug logs for the Use this option to enable Media Control Client debug logs for the
Bluetooth Audio functionality. Bluetooth Audio functionality.
@ -195,7 +193,6 @@ config BT_MCS_MAX_OBJ_SIZE
config BT_DEBUG_MEDIA_PROXY config BT_DEBUG_MEDIA_PROXY
bool "Media Proxy debug" bool "Media Proxy debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Media Proxy debug logs for the Use this option to enable Media Proxy debug logs for the
Bluetooth Audio functionality. Bluetooth Audio functionality.

View file

@ -36,7 +36,6 @@ config BT_MICS_AICS
config BT_DEBUG_MICS config BT_DEBUG_MICS
bool "Microphone Input Control Service debug" bool "Microphone Input Control Service debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Microphone Input Control Service debug logs Use this option to enable Microphone Input Control Service debug logs
for the Bluetooth Audio functionality. for the Bluetooth Audio functionality.
@ -74,7 +73,6 @@ config BT_MICS_CLIENT_AICS
config BT_DEBUG_MICS_CLIENT config BT_DEBUG_MICS_CLIENT
bool "Microphone Control Profile debug" bool "Microphone Control Profile debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Microphone Control Profile debug logs for Use this option to enable Microphone Control Profile debug logs for
the Bluetooth Audio functionality. the Bluetooth Audio functionality.

View file

@ -22,7 +22,6 @@ if BT_OTC
config BT_DEBUG_OTC config BT_DEBUG_OTC
bool "Object Transfer Client debug" bool "Object Transfer Client debug"
# TODO: Remove dependency on BT_AUDIO_DEBUG when moved out of the audio directory # TODO: Remove dependency on BT_AUDIO_DEBUG when moved out of the audio directory
depends on BT_AUDIO_DEBUG
depends on BT_OTC depends on BT_OTC
help help
Use this option to enable Object Transfer Client debug logs for the Use this option to enable Object Transfer Client debug logs for the

View file

@ -50,7 +50,6 @@ config BT_VCS_AICS
config BT_DEBUG_VCS config BT_DEBUG_VCS
bool "Volume Control Service debug" bool "Volume Control Service debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Volume Control Service debug logs for the Use this option to enable Volume Control Service debug logs for the
Bluetooth Audio functionality. Bluetooth Audio functionality.
@ -104,7 +103,6 @@ config BT_VCS_CLIENT_AICS
config BT_DEBUG_VCS_CLIENT config BT_DEBUG_VCS_CLIENT
bool "Volume Control Profile debug" bool "Volume Control Profile debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Volume Control Profile debug logs for the Use this option to enable Volume Control Profile debug logs for the
Bluetooth Audio functionality. Bluetooth Audio functionality.

View file

@ -35,7 +35,6 @@ config BT_VOCS_MAX_OUTPUT_DESCRIPTION_SIZE
config BT_DEBUG_VOCS config BT_DEBUG_VOCS
bool "Volume Offset Control Service debug" bool "Volume Offset Control Service debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Volume Offset Control Service debug logs for Use this option to enable Volume Offset Control Service debug logs for
the Bluetooth Audio functionality. the Bluetooth Audio functionality.
@ -66,7 +65,6 @@ if BT_VOCS_CLIENT
config BT_DEBUG_VOCS_CLIENT config BT_DEBUG_VOCS_CLIENT
bool "Volume Offset Control Service client debug" bool "Volume Offset Control Service client debug"
depends on BT_AUDIO_DEBUG
help help
Use this option to enable Volume Offset Control Service client debug Use this option to enable Volume Offset Control Service client debug
logs for the Bluetooth Audio functionality. logs for the Bluetooth Audio functionality.

View file

@ -72,7 +72,6 @@ CONFIG_BT_OTS_MAX_OBJ_CNT=0x30
CONFIG_BT_OTC=y CONFIG_BT_OTC=y
# DEBUGGING # DEBUGGING
CONFIG_BT_AUDIO_DEBUG=y
CONFIG_BT_DEBUG_LOG=y CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_DEBUG_VCS=y CONFIG_BT_DEBUG_VCS=y
CONFIG_BT_DEBUG_VCS_CLIENT=y CONFIG_BT_DEBUG_VCS_CLIENT=y

View file

@ -91,7 +91,6 @@ CONFIG_BT_OTC=y
# DEBUGGING # DEBUGGING
CONFIG_BT_DEBUG_LOG=y CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_AUDIO_DEBUG=y
CONFIG_BT_DEBUG_MCS=y CONFIG_BT_DEBUG_MCS=y
CONFIG_BT_DEBUG_MCC=y CONFIG_BT_DEBUG_MCC=y
CONFIG_BT_OTS_LOG_LEVEL_DBG=y CONFIG_BT_OTS_LOG_LEVEL_DBG=y