diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-27 11:03:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-27 11:03:28 +0300 |
commit | e6aa42f93751e4d9ac8505b7ac57acd5506bdec9 (patch) | |
tree | 3bdbb589c7e0abeb111cdd142f647fd21c762355 /drivers/usb/chipidea | |
parent | 508aeb54e4f0225f4ff3da9b7ec8ac44ce30aad8 (diff) | |
parent | 03c765b0e3b4cb5063276b086c76f7a612856a9a (diff) | |
download | linux-e6aa42f93751e4d9ac8505b7ac57acd5506bdec9.tar.xz |
Merge 5.19-rc4 into usb-next
We need the USB fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r-- | drivers/usb/chipidea/udc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index 0c9ae9768a67..8c3e3a635ac2 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c @@ -1048,6 +1048,9 @@ isr_setup_status_complete(struct usb_ep *ep, struct usb_request *req) struct ci_hdrc *ci = req->context; unsigned long flags; + if (req->status < 0) + return; + if (ci->setaddr) { hw_usb_set_address(ci, ci->address); ci->setaddr = false; |