diff options
author | Ray Chi <[email protected]> | 2021-03-28 02:17:42 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-02 15:27:36 +0200 |
commit | 04dd6e76b228891d29e49759e2351eb4a4303fc9 (patch) | |
tree | 48f181afb4f7f84d4328e3da83eccfd3544a2daa /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | d1689cd3c0f449de92d9ec13707dfea1f96c3dbd (diff) |
usb: dwc3: add cancelled reasons for dwc3 requests
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
Reviewed-by: Thinh Nguyen <[email protected]>
Signed-off-by: Ray Chi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions