[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y0GZ1P0MBR6gi1hl@kroah.com>
Date: Sat, 8 Oct 2022 17:40:04 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: 3090101217@....edu.cn
Cc: pawell@...ence.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, Jing Leng <jleng@...arella.com>
Subject: Re: [PATCH] usb: cdnsp: Fix wrong transmission direction of EP0
On Mon, Sep 26, 2022 at 03:59:02PM +0800, 3090101217@....edu.cn wrote:
> From: Jing Leng <jleng@...arella.com>
>
> 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@...arella.com>
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
Powered by blists - more mailing lists