diff options
| author | Krzysztof Opasiak <kopasiak90@gmail.com> | 2017-01-19 18:55:27 +0100 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-01-09 05:56:22 -0800 |
| commit | 712a014d96f49a0463ae0721c34df419b5915b19 (patch) | |
| tree | a72ca4cd07b70037d3a30a010d763026ca72aac7 /fs/stack.c | |
| parent | c059ef285c7fd4fb0643d3d22d494d49f6c07a76 (diff) | |
usb: gadget: f_hid: fix: Free out requests
commit 20d2ca955bd09639c7b01db5761d157c297aea0a upstream.
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.
Change-Id: Ifeab1eff6223e6380b7a1f6db6900ca33ade9de1
Fixes: 99c515005857 ("usb: gadget: hidg: register OUT INT endpoint for SET_REPORT")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: b6092a57150c1641dffb6bfeebbe2cbde7275d1f
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions
