linux/drivers/usb/dwc2
Artur Petrosyan b46b1ef7b0 usb: dwc2: Add exit partial power down before removing driver
When dwc2 core is in partial power down mode
loading driver again causes driver fail. Because in
that mode registers are not accessible.

Added a flow of exiting the partial power down mode
to avoid the driver reload failure.

Acked-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Signed-off-by: Artur Petrosyan <Arthur.Petrosyan@synopsys.com>
Link: https://lore.kernel.org/r/20210408094615.8AE35A0094@mailhost.synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-09 15:16:39 +02:00
..
core_intr.c usb: dwc2: Fix session request interrupt handler 2021-04-09 15:16:38 +02:00
core.c usb: dwc2: Update enter and exit partial power down functions 2021-04-09 15:16:38 +02:00
core.h usb: dwc2: Add exit partial power down when port is resumed 2021-04-09 15:16:38 +02:00
debug.h USB: dwc2: Use the correct style for SPDX License Identifier 2020-05-05 10:58:50 +03:00
debugfs.c usb: dwc2: Add STM32 related debugfs entries 2021-03-10 09:37:15 +01:00
drd.c usb: dwc2: override PHY input signals with usb role switch support 2020-10-02 13:29:13 +03:00
gadget.c usb: dwc2: Update enter and exit partial power down functions 2021-04-09 15:16:38 +02:00
hcd_ddma.c usb: dwc2: Modify dwc2_readl/writel functions prototype 2018-07-30 10:39:16 +03:00
hcd_intr.c usb: dwc2: Make "trimming xfer length" a debug message 2021-01-26 18:42:15 +01:00
hcd_queue.c usb: dwc2: add parenthess and space around * 2021-04-02 15:39:59 +02:00
hcd.c usb: dwc2: Fix partial power down exiting by system resume 2021-04-09 15:16:39 +02:00
hcd.h USB: dwc2: Use the correct style for SPDX License Identifier 2020-05-05 10:58:50 +03:00
hw.h usb: dwc2: Update enter and exit partial power down functions 2021-04-09 15:16:38 +02:00
Kconfig usb: dwc2: override PHY input signals with usb role switch support 2020-10-02 13:29:13 +03:00
Makefile usb: dwc2: override PHY input signals with usb role switch support 2020-10-02 13:29:13 +03:00
params.c usb: dwc2: disable Link Power Management on STM32MP15 HS OTG 2021-01-12 12:54:42 +01:00
pci.c usb: dwc2: pci: Drop the empty quirk function 2021-02-04 15:40:19 +01:00
platform.c usb: dwc2: Add exit partial power down before removing driver 2021-04-09 15:16:39 +02:00