diff options
author | Felipe Balbi <balbi@ti.com> | 2012-04-24 17:19:11 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-05-02 10:42:56 +0400 |
commit | b09bb64239c83113b8b35fa6a1ecae43d8297eaa (patch) | |
tree | f7f765e01d4aea0422cd1cf4c586a0cd86ec995a /drivers/usb/dwc3/gadget.h | |
parent | 93c309ded1f6d4d0ff210263e62693825d441819 (diff) | |
download | linux-b09bb64239c83113b8b35fa6a1ecae43d8297eaa.tar.xz |
usb: dwc3: gadget: implement Global Command support
This will be used by the ep0 layer for implementing
Set SEL Standard Request.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/gadget.h')
-rw-r--r-- | drivers/usb/dwc3/gadget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/gadget.h b/drivers/usb/dwc3/gadget.h index a8600084348c..95ef6a2f7764 100644 --- a/drivers/usb/dwc3/gadget.h +++ b/drivers/usb/dwc3/gadget.h @@ -111,6 +111,7 @@ int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request, int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value); int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, unsigned cmd, struct dwc3_gadget_ep_cmd_params *params); +int dwc3_send_gadget_generic_command(struct dwc3 *dwc, int cmd, u32 param); /** * dwc3_gadget_ep_get_transfer_index - Gets transfer index from HW |