diff options
author | Pawel Laszczak <pawell@cadence.com> | 2021-12-07 10:18:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-13 15:23:42 +0100 |
commit | 99ea221f2e2f2743314e348b25c1e2574b467528 (patch) | |
tree | 3f33b289deb21da2d1b5cff22ca08cf40851ef90 /drivers/usb/gadget/composite.c | |
parent | usb: cdnsp: Fix issue in cdnsp_log_ep trace event (diff) | |
download | linux-99ea221f2e2f2743314e348b25c1e2574b467528.tar.xz linux-99ea221f2e2f2743314e348b25c1e2574b467528.zip |
usb: cdnsp: Fix incorrect status for control request
Patch fixes incorrect status for control request.
Without this fix all usb_request objects were returned to upper drivers
with usb_reqest->status field set to -EINPROGRESS.
Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
cc: <stable@vger.kernel.org>
Reported-by: Ken (Jian) He <jianhe@ambarella.com>
Reviewed-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20211207091838.39572-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/composite.c')
0 files changed, 0 insertions, 0 deletions