diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2021-01-04 22:42:39 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-07 14:24:35 +0100 |
commit | a5c7682aaaa10e42928d73de1c9e1e02d2b14c2e (patch) | |
tree | c81d2baa5c84a68a7a982c86aed52ef946c7a7bc /drivers/scsi/hisi_sas | |
parent | 6c75c2bad36cfb43b144e6a0a76a69993c72097f (diff) | |
download | linux-a5c7682aaaa10e42928d73de1c9e1e02d2b14c2e.tar.bz2 |
usb: dwc3: gadget: Clear wait flag on dequeue
If an active transfer is dequeued, then the endpoint is freed to start a
new transfer. Make sure to clear the endpoint's transfer wait flag for
this case.
Fixes: e0d19563eb6c ("usb: dwc3: gadget: Wait for transfer completion")
Cc: stable@vger.kernel.org
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/b81cd5b5281cfbfdadb002c4bcf5c9be7c017cfd.1609828485.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/hisi_sas')
0 files changed, 0 insertions, 0 deletions