diff options
author | Felipe Balbi <balbi@ti.com> | 2014-09-18 16:31:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 16:56:21 +0200 |
commit | bf17eba7ae1e813b0ad67cb1078dcbd7083b906e (patch) | |
tree | 7705357b04336caa91ca4d7819f8284de01ab11b /include | |
parent | Merge 3.17-rc6 into usb-next (diff) | |
download | linux-bf17eba7ae1e813b0ad67cb1078dcbd7083b906e.tar.xz linux-bf17eba7ae1e813b0ad67cb1078dcbd7083b906e.zip |
Revert "usb: gadget: composite: dequeue cdev->req before free it in composite_dev_cleanup"
This reverts commit f2267089ea17fa97b796b1b4247e3f8957655df3.
That commit causes more problem than fixes. Firstly, kfree()
should be called after usb_ep_dequeue() and secondly, the way
things are, we will try to dequeue a request that has already
completed much more frequently than one which is pending.
Cc: Li Jun <b47624@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Cc: stable <stable@vger.kernel.org> # 3.17
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions