lkml.org 
[lkml]   [2021]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch v3] usb: dwc3: add cancelled reasons for dwc3 requests
On Sat, Mar 27, 2021 at 09:22:02PM +0800, Ray Chi wrote:
> Currently, when dwc3 handles request cancelled, dwc3 just returns
> -ECONNRESET for all requests. It will cause USB function drivers
> can't know if the requests are cancelled by other reasons.
>
> This patch will replace DWC3_REQUEST_STATUS_CANCELLED with the
> reasons below.
> - DWC3_REQUEST_STATUS_DISCONNECTED
> - DWC3_REQUEST_STATUS_DEQUEUED
> - DWC3_REQUEST_STATUS_STALLED
>
> Signed-off-by: Ray Chi <raychi@google.com>
> ---
> drivers/usb/dwc3/core.h | 12 +++++++-----
> drivers/usb/dwc3/gadget.c | 24 ++++++++++++++++++++----
> drivers/usb/dwc3/gadget.h | 6 ++++--
> 3 files changed, 31 insertions(+), 11 deletions(-)

What changed from the previous versions? that should always go below
the --- line as documented.

Please fix up and submit a v4 with that information.

thanks,

greg k-h

\
 
 \ /
  Last update: 2021-03-27 14:37    [W:0.026 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site