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

Reply via email to