commit | ce84c782dcd3cee6fad6ac7ec7642accdaa42d1f | [log] [tgz] |
---|---|---|
author | Chris Collins <chris@realsimgear.com> | Thu May 19 15:13:31 2022 +1000 |
committer | Marti Bolivar <marti.bolivar@nordicsemi.no> | Thu May 19 11:28:38 2022 -0700 |
tree | 9b3b7c85fb61d2bb93868c27fc695c819e250653 | |
parent | 2d8c45c1e02120c90100f77e036b1d7fe1dddb83 [diff] |
drivers: usb: device: stm32: fix disconnect-gpios configuration. For some reason, rather than testing for the presence of disconnect-gpios in the devicetree, the STM32 USB Device driver was relying on a hidden Kconfig flag to be set. This patch removes the Kconfig option completely and simply tests for the DT property - if it's set, you obviously know what you're doing and obviously need the pull-up GPIO behaviour. Signed-off-by: Chris Collins <chris@realsimgear.com>