diff options
author | Felipe Balbi <balbi@ti.com> | 2014-09-24 23:19:52 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-10-21 00:58:48 +0400 |
commit | 7a60855972f0d3c014093046cb6f013a1ee5bb19 (patch) | |
tree | 8c25e151ddaab4d8840bcd82ba31c0c5eff99a94 /tools/perf/scripts/python/stackcollapse.py | |
parent | 95aa4e8d658778f787e2ce205d3018443d027477 (diff) | |
download | linux-7a60855972f0d3c014093046cb6f013a1ee5bb19.tar.xz |
usb: dwc3: gadget: fix set_halt() bug with pending transfers
According to our Gadget Framework API documentation,
->set_halt() *must* return -EAGAIN if we have pending
transfers (on either direction) or FIFO isn't empty (on
TX endpoints).
Fix this bug so that the mass storage gadget can be used
without stall=0 parameter.
This patch should be backported to all kernels since v3.2.
Cc: <stable@vger.kernel.org> # v3.2+
Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions