Sometimes the complete split packet may be queued too early and the

transaction translator will return a NAK. Ignore this message and
retry the complete split instead.

MFC after:		3 days
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2018-11-07 08:25:44 +00:00
parent 0f6f91a8ce
commit 36d2d637dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340212

View File

@ -1432,6 +1432,19 @@ dwc_otg_host_data_rx(struct dwc_otg_softc *sc, struct dwc_otg_td *td)
goto receive_pkt;
}
} else if (td->ep_type == UE_ISOCHRONOUS) {
if (td->hcsplt != 0) {
/*
* Sometimes the complete
* split packet may be queued
* too early and the
* transaction translator will
* return a NAK. Ignore
* this message and retry the
* complete split instead.
*/
DPRINTF("Retrying complete split\n");
goto receive_pkt;
}
goto complete;
}
td->did_nak = 1;