linux-stable/drivers/usb/dwc2
Quentin Schulz ade23d7b7e usb: dwc2: power on/off phy for peripheral mode in dual-role mode
The PHY power is handled for peripheral mode but only when the device is
forced into this peripheral mode. It is missing when the device is
operating in peripheral mode when dual-role mode is enabled, so let's
update the condition to match this scenario.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20221206-dwc2-gadget-dual-role-v1-2-36515e1092cd@theobroma-systems.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-12-08 16:50:56 +01: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
core.c usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
core.h usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
core_intr.c usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +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 otg_rev and otg_caps information for gadget driver 2021-10-25 09:20:26 +02:00
drd.c usb: dwc2: drd: fix soft connect when gadget is unconfigured 2022-02-17 16:10:21 +01:00
gadget.c usb: dwc2: power on/off phy for peripheral mode in dual-role mode 2022-12-08 16:50:56 +01:00
hcd.c usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
hcd.h usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
hcd_ddma.c usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
hcd_intr.c usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
hcd_queue.c usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
hw.h usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
params.c usb: dwc2: disable lpm feature on Rockchip SoCs 2022-12-08 16:50:56 +01:00
pci.c usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
platform.c usb: dwc2: power on/off phy for peripheral mode in dual-role mode 2022-12-08 16:50:56 +01:00