On Tue, Apr 22, 2025 at 09:16:52AM +0000, Minas Harutyunyan wrote:
For UTMI+ PHY, according to programming guide, first should be set PMUACTV bit then STOPPCLK bit. Otherwise, when the device issues Remote Wakeup, then host notices disconnect instead. For ULPI PHY, above mentioned bits must be set in reversed order: STOPPCLK then PMUACTV.
Fixes: 4483ef3c1685 ("usb: dwc2: Add hibernation updates for ULPI PHY") Cc: stable@vger.kernel.org Reported-by: Tomasz Mon tomasz.mon@nordicsemi.no Signed-off-by: Minas Harutyunyan Minas.Harutyunyan@synopsys.com
Changes in v2:
- Added Cc: stable@vger.kernel.org
drivers/usb/dwc2/gadget.c | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-)
Does not apply to 6.15-rc4 at all, can you rebase and resubmit this?
thanks,
greg k-h