diff options
author | 2017-01-19 18:55:27 +0100 | |
---|---|---|
committer | 2017-01-24 11:04:17 +0200 | |
commit | 20d2ca955bd09639c7b01db5761d157c297aea0a (patch) | |
tree | 4cc0422d0e13886c703ba4d4e1b6927ab13c03ba /drivers/usb/dwc2/debug.h | |
parent | tools: usb: ffs-test: add SS descriptors (diff) | |
download | wireguard-linux-20d2ca955bd09639c7b01db5761d157c297aea0a.tar.xz wireguard-linux-20d2ca955bd09639c7b01db5761d157c297aea0a.zip |
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/usb/dwc2/debug.h')
0 files changed, 0 insertions, 0 deletions