commit | 2395452656099afee86d642c063b582df6b0d6c9 | [log] [tgz] |
---|---|---|
author | Tomasz Moń <tomasz.mon@nordicsemi.no> | Mon Mar 10 10:09:39 2025 +0100 |
committer | Benjamin Cabé <kartben@gmail.com> | Mon Mar 24 15:10:13 2025 +0100 |
tree | d0cfd6644b79ad35ba9d771c834a00960533e18b | |
parent | 437983e2c957541f052facc2795e03b0071c738f [diff] |
drivers: udc_dwc2: Reset core on shutdown OUT endpoint 0 cannot be disabled and therefore the only way to forcibly reclaim the buffer is to reset the core. The reset does not finish if PHY clock is not running, but just triggering the reset seems to be enough to be able to reclaim the buffer. Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>