commit | f0ee203c864faca0b8b36698a0ffacb246b1412a | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Wed Jan 04 06:30:16 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 24 07:11:17 2017 +0200 |
tree | d4415428a0561ba768f360c6921629fd396eedf6 | |
parent | 8ee7f06f4dcaad729ecd7562b10b9a816f99ae70 [diff] |
usb: gadget: composite: Fix function used to free memory commit 990758c53eafe5a220a780ed12e7b4d51b3df032 upstream. 'cdev->os_desc_req' has been allocated with 'usb_ep_alloc_request()' so 'usb_ep_free_request()' should be used to free it. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>