Re: [PATCH] usb: cdnsp: Fix wrong transmission direction of EP0

From: Greg KH
Date: Sat Oct 08 2022 - 11:39:33 EST


On Mon, Sep 26, 2022 at 03:59:02PM +0800, 3090101217@xxxxxxxxxx wrote:
> From: Jing Leng <jleng@xxxxxxxxxxxxx>
>
> EP0 transfer is bi-directional, but in the cdnsp gadget, the
> transmission direction of EP0 is not changed after it is
> initialized to IN, so the OUT data from EP0 received by the host
> is invalid.
>
> The value of ep0_expect_in will change according to the value of
> bRequestType in the SETUP transaction of control transfer, so we
> can use it as the transmission direction of EP0.
>
> Signed-off-by: Jing Leng <jleng@xxxxxxxxxxxxx>

Your email does not match your From: line and the signature of it shows
that it is invalid and does not pass authentication :(

Please work with your university to get an email address that works
properly.

thanks,

greg k-h