Skip to content
Commit 8b50d376 authored by Marek Pieta's avatar Marek Pieta Committed by Carles Cufí
Browse files

drivers: usb: udc_dwc2: Notify upper layer on failed TX



Change ensures that `dwc2_handle_xfer_next` would notify upper layer if
`dwc2_tx_fifo_write` fails. This is necessary to ensure that upper layer
is aware of the failed TX for the submitted transfer. It also ensures
that the submitted transfer is removed from the TX queue.

Signed-off-by: default avatarMarek Pieta <Marek.Pieta@nordicsemi.no>
Signed-off-by: default avatarKamil Piszczek <Kamil.Piszczek@nordicsemi.no>
parent da97542a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment