aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2015-09-16 06:10:41 -0400
committerFelipe Balbi <balbi@ti.com>2015-09-27 11:54:31 -0400
commitb67f628c84329a9ce82dbff5fde196dc4624e7c2 (patch)
tree14bbbf906d163b939af759623c55f15c34582ac4 /include/linux/usb
parent35bfde36872607b1de87288f9798af79820a910f (diff)
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/gadget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index c14a69b36d27..3f299e2b6942 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -1233,6 +1233,8 @@ extern struct usb_ep *usb_ep_autoconfig_ss(struct usb_gadget *,
1233 struct usb_endpoint_descriptor *, 1233 struct usb_endpoint_descriptor *,
1234 struct usb_ss_ep_comp_descriptor *); 1234 struct usb_ss_ep_comp_descriptor *);
1235 1235
1236extern void usb_ep_autoconfig_release(struct usb_ep *);
1237
1236extern void usb_ep_autoconfig_reset(struct usb_gadget *); 1238extern void usb_ep_autoconfig_reset(struct usb_gadget *);
1237 1239
1238#endif /* __LINUX_USB_GADGET_H */ 1240#endif /* __LINUX_USB_GADGET_H */