commit | 39ebb05ca83dc636f9c9159b3c6dbc58c932b26a | [log] [tgz] |
---|---|---|
author | John Youn <johnyoun@synopsys.com> | Wed Nov 09 16:36:28 2016 -0800 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Nov 18 13:54:16 2016 +0200 |
tree | aefb3af094039b26a36e4f54fb11bc0ab5854681 | |
parent | ee2c40de6415f7866ca35fcb2f1af52c7a22cfd1 [diff] |
usb: dwc3: gadget: Remove descriptor arguments to ep_enable The __dwc3_gadget_endpoint_enable() function has access to the endpoint descriptors via the usb_ep. So we don't need to pass them in as arguments. The descriptors should be set by the caller prior to calling usb_ep_enable(). Signed-off-by: John Youn <johnyoun@synopsys.com> [felipe.balbi@linux.intel.com : minor improvements] Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>