Skip to content
Commit ce84c782 authored by Chris Collins's avatar Chris Collins Committed by Marti Bolivar
Browse files

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: default avatarChris Collins <chris@realsimgear.com>
parent 2d8c45c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment