]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: composite: Fix function used to free memory
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 4 Jan 2017 05:30:16 +0000 (06:30 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 12 Jan 2017 07:58:05 +0000 (09:58 +0200)
commit990758c53eafe5a220a780ed12e7b4d51b3df032
tree54ceefeea393eaf6984212fd1e197ebef89cd459
parenta121103c922847ba5010819a3f250f1f7fc84ab8
usb: gadget: composite: Fix function used to free memory

'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>
drivers/usb/gadget/composite.c