Skip to content

Commit ea71891

Browse files
JarmouniAjhedberg
authored andcommitted
drivers: usb: nrf_usbd_common: fix Kconfig leak
Fix Kconfig Log options leak Signed-off-by: Abderrahmane JARMOUNI <[email protected]>
1 parent 5e7f23f commit ea71891

File tree

1 file changed

+8
-5
lines changed
  • drivers/usb/common/nrf_usbd_common

1 file changed

+8
-5
lines changed
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
# Copyright (c) 2016-2023 Nordic Semiconductor ASA
22
# SPDX-License-Identifier: Apache-2.0
33

4-
module = NRF_USBD_COMMON
5-
module-str = nRF USBD common
6-
source "subsys/logging/Kconfig.template.log_config"
7-
84
config NRF_USBD_COMMON
95
bool "USBD driver"
106
depends on HAS_NRFX
117
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_USBD))
128

9+
if NRF_USBD_COMMON
10+
1311
config NRF_USBD_ISO_IN_ZLP
1412
bool "Send ZLP on ISO IN when not ready"
15-
depends on NRF_USBD_COMMON
1613
default y
1714
help
1815
Controls the response of the ISO IN endpoint to an IN token when no
1916
data is ready to be sent. When enabled, ZLP is sent when no data is
2017
ready. When disabled, no response is sent (bus timeout occurs).
18+
19+
module = NRF_USBD_COMMON
20+
module-str = nRF USBD common
21+
source "subsys/logging/Kconfig.template.log_config"
22+
23+
endif # NRF_USBD_COMMON

0 commit comments

Comments
 (0)