[PATCH v2] usb: dwc2: Fix contorl OUT transfer issue
Marek Vasut
marex at denx.de
Mon Oct 5 19:42:37 CEST 2020
On 10/5/20 9:11 AM, Chance.Yang wrote:
Please fix the "contorl" typo on subject, should be "control"
[...]
> @@ -441,10 +444,17 @@ static void process_ep_out_intr(struct dwc2_udc *dev)
>
> if (ep_num == 0) {
> if (ep_intr_status & TRANSFER_DONE) {
> - if (dev->ep0state !=
> - WAIT_FOR_OUT_COMPLETE)
> + ep_tsr = readl(&epsiz_reg);
> + xfer_size = (ep_tsr &
> + DOEPT_SIZ_XFER_SIZE_MAX_EP0);
The extra braces are not needed, please drop them.
Thanks
More information about the U-Boot
mailing list