usb: gadget: epautoconf: add usb_ep_autoconfig_release() function
authorRobert Baldyga <r.baldyga@samsung.com>
Wed, 16 Sep 2015 10:10:41 +0000 (12:10 +0200)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
commitb67f628c84329a9ce82dbff5fde196dc4624e7c2
tree14bbbf906d163b939af759623c55f15c34582ac4
parent35bfde36872607b1de87288f9798af79820a910f
usb: gadget: epautoconf: add usb_ep_autoconfig_release() function

This patch introduces usb_ep_autoconfig_release() function which allows
to release endpoint previously obtained from usb_ep_autoconfig() during
USB function bind.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/epautoconf.c
include/linux/usb/gadget.h