From 64751220bd2d2e66e78a3bfaa61fbfc20c8bca85 Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Thu, 2 Dec 2021 10:06:39 +0100 Subject: [PATCH] drivers: usb: allow to disable option USB_DEVICE_REMOTE_WAKEUP This flag may cause host to more ambitious power saving behavior, not all Zephyr USB classes or applications may be ready for this now. Allow to disable option USB_DEVICE_REMOTE_WAKEUP. Signed-off-by: Johann Fischer --- drivers/usb/device/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/device/Kconfig b/drivers/usb/device/Kconfig index d43978da536..431d179a31b 100644 --- a/drivers/usb/device/Kconfig +++ b/drivers/usb/device/Kconfig @@ -16,7 +16,7 @@ config USB_DC_HAS_HS_SUPPORT USB device controller supports high speed. config USB_DEVICE_REMOTE_WAKEUP - bool + bool "Enable remote wakeup support" help USB device controller supports remote wakeup feature. @@ -81,7 +81,7 @@ config USB_NRFX depends on HAS_HW_NRF_USBD select NRFX_USBD select NRFX_POWER - select USB_DEVICE_REMOTE_WAKEUP + imply USB_DEVICE_REMOTE_WAKEUP help nRF USB Device Controller Driver