diff options
author | Krzysztof Opasiak <kopasiak90@gmail.com> | 2017-01-19 18:55:27 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-24 11:04:17 +0200 |
commit | 20d2ca955bd09639c7b01db5761d157c297aea0a (patch) | |
tree | 4cc0422d0e13886c703ba4d4e1b6927ab13c03ba /drivers/macintosh | |
parent | 271d2d6d94dd56e2897ff989f3ce5ac8ad727323 (diff) | |
download | linux-next-20d2ca955bd09639c7b01db5761d157c297aea0a.tar.gz |
usb: gadget: f_hid: fix: Free out requests
Requests for out endpoint are allocated in bind() function
but never released.
This commit ensures that all pending requests are released
when we disable out endpoint.
Fixes: 99c515005857 ("usb: gadget: hidg: register OUT INT endpoint for SET_REPORT")
Cc: stable@vger.kernel.org
Tested-by: David Lechner <david@lechnology.com>
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions