diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-27 15:34:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-27 15:34:15 +0200 |
commit | ca6377900974c3e22c379c48057aac51139d29fc (patch) | |
tree | 52544381d0ce30d3804e21137eac3a7a87fbf289 /drivers/usb/dwc2/gadget.c | |
parent | 09df709cb5aeb2b648576f4b089d3fb869311e28 (diff) | |
download | lwn-ca6377900974c3e22c379c48057aac51139d29fc.tar.gz lwn-ca6377900974c3e22c379c48057aac51139d29fc.zip |
Revert "usb: dwc2: override PHY input signals with usb role switch support"
This reverts commit bc0f0d4a5853e32ba97a0318f774570428fc5634.
It was not meant to be applied yet.
Cc: Minas Harutyunyan <hminas@synopsys.com>
Cc: Amelie Delaunay <amelie.delaunay@st.com>
Cc: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc2/gadget.c')
-rw-r--r-- | drivers/usb/dwc2/gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 16c5f976f141..5b9d23991c99 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -3530,7 +3530,7 @@ void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *hsotg, dwc2_readl(hsotg, DOEPCTL0)); } -void dwc2_hsotg_core_disconnect(struct dwc2_hsotg *hsotg) +static void dwc2_hsotg_core_disconnect(struct dwc2_hsotg *hsotg) { /* set the soft-disconnect bit */ dwc2_set_bit(hsotg, DCTL, DCTL_SFTDISCON); |