mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-08 19:48:10 +03:00
USBD_HAL: Don't disable UDP peripheral clock on suspend
Change-Id: I2169e2140762b37661f4567bb148326afd85cddc Closes: OS#4329
This commit is contained in:
1 parent
ad117091ca
commit
b0b457df63
1 file changed
+4
-1
@@ -1687,7 +1687,10 @@ void USBD_HAL_Suspend(void)
|
||||
/* The device enters the Suspended state */
|
||||
UDP_DisableTransceiver();
|
||||
UDP_DisableUsbClock();
|
||||
UDP_DisablePeripheralClock();
|
||||
/* Don't disable peripheral clock; this somehow breaks completion of any IN transfers
|
||||
* that have already been written to the peripheral, and which we expect to complete
|
||||
* after resume */
|
||||
//UDP_DisablePeripheralClock();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user