diff options
author | Pawel Laszczak <pawell@cadence.com> | 2021-04-20 06:28:13 +0200 |
---|---|---|
committer | Peter Chen <peter.chen@kernel.org> | 2021-05-11 14:15:42 +0800 |
commit | 3b414d1b0107fa51ad6063de9752d4b2a8063980 (patch) | |
tree | b98060c3d43342fbb9f498712764d3f63dfe9f50 /tools/perf/scripts/python/stackcollapse.py | |
parent | 07adc0225484fc199e3dc15ec889f75f498c4fca (diff) |
usb: cdnsp: Fix lack of removing request from pending list.
Patch fixes lack of removing request from ep->pending_list on failure
of the stop endpoint command. Driver even after failing this command
must remove request from ep->pending_list.
Without this fix driver can stuck in cdnsp_gadget_ep_disable function
in loop:
while (!list_empty(&pep->pending_list)) {
preq = next_request(&pep->pending_list);
cdnsp_ep_dequeue(pep, preq);
}
Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20210420042813.34917-1-pawell@gli-login.cadence.com
Signed-off-by: Peter Chen <peter.chen@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions