diff options
author | Quentin Schulz <[email protected]> | 2022-12-07 14:19:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-12-08 16:50:56 +0100 |
commit | ade23d7b7ec5c38bd43ec44ccb753cb7ea8ac08a (patch) | |
tree | 8e1cc9d1ca19fbc29354c088d69483294e9cec4e /lib/mpi/mpiutil.c | |
parent | 42a317d076b58f08413219b1679d211783c2e5f3 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/20221206-dwc2-gadget-dual-role-v1-2-36515e1092cd@theobroma-systems.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions