arch: cxd56xx: Fix stall bulk xfer when sending 512 byte data
Remove hardware zero length packet enhancement because of driver logic already processed the ZLP correctly. It is unnecessary and cause of IN interrupt lost.
This commit is contained in:
parent
306029e6e4
commit
22a29fdc97
@ -757,14 +757,6 @@ static int cxd56_epwrite(struct cxd56_ep_s *privep, uint8_t *buf,
|
||||
/* Set Poll bit to ready to send */
|
||||
|
||||
ctrl = getreg32(CXD56_USB_IN_EP_CONTROL(epphy));
|
||||
|
||||
/* Send NULL packet request */
|
||||
|
||||
if (privep->txnullpkt)
|
||||
{
|
||||
ctrl |= USB_SENDNULL;
|
||||
}
|
||||
|
||||
putreg32(ctrl | USB_P | USB_CNAK, CXD56_USB_IN_EP_CONTROL(epphy));
|
||||
|
||||
return nbytes;
|
||||
|
Loading…
Reference in New Issue
Block a user