commit | 20d2ca955bd09639c7b01db5761d157c297aea0a | [log] [tgz] |
---|---|---|
author | Krzysztof Opasiak <kopasiak90@gmail.com> | Thu Jan 19 18:55:27 2017 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Jan 24 11:04:17 2017 +0200 |
tree | 4cc0422d0e13886c703ba4d4e1b6927ab13c03ba | |
parent | 271d2d6d94dd56e2897ff989f3ce5ac8ad727323 [diff] |
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>