diff options
| author | Felipe Balbi <[email protected]> | 2024-04-12 22:26:03 +0200 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2024-05-16 08:38:24 +0200 |
| commit | d107a5319e20d5e5be3bd8fa298aeca9ef4990a0 (patch) | |
| tree | 52d9e9db6ac61f0d5e7a865bcdbba3ff9b100b03 /include/linux | |
| parent | 967b31c3ccdc09284a4447ebc4577bb7ef06d500 (diff) | |
usb: dwc3: gadget: only resume USB2 PHY in <=HIGHSPEED
Upstream Linux commit ab2a92e7a608.
As a micro-power optimization, let's only resume the
USB2 PHY if we're working on <=HIGHSPEED. If we're
gonna work on SUPERSPEED or SUPERSPEED+, there's no
point in resuming the USB2 PHY.
Fixes: 2b0f11df84bb ("usb: dwc3: gadget: clear SUSPHY bit before ep cmds")
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Alexander Sverdlin <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
