linux_old1/drivers/usb/dwc3
Felipe Balbi 2cd4718d0b usb: dwc3: gadget: pass dep as argument to endpoint command
In all call sites of dwc3_send_gadget_ep_cmd() we
already had a valid dep pointer, so instead of
passing dwc and dep->number, which would be used to
fetch the same pointer we already had, just pass dep
directly.

In other words, we're changing:

	struct dwc3_ep *dep = dwc[dep->number];

to just passing struct dwc3_ep *dep as argument.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-06-20 12:32:31 +03:00
..
Kconfig usb: dwc3: remove dwc3-qcom in favor of dwc3-of-simple 2015-12-15 09:12:41 -06:00
Makefile usb: dwc3: remove dwc3-qcom in favor of dwc3-of-simple 2015-12-15 09:12:41 -06:00
core.c usb: dwc3: core: get rid of DWC3_PM_OPS macro 2016-06-20 12:30:04 +03:00
core.h usb: dwc3: gadget: pass dep as argument to endpoint command 2016-06-20 12:32:31 +03:00
debug.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debug.h usb: dwc3: make dwc3_debugfs_init return value be void 2016-04-19 11:11:53 +03:00
debugfs.c usb: changes for v4.7 merge window 2016-04-28 09:32:39 -07:00
dwc3-exynos.c usb: dwc3: exynos: Fix deferred probing storm. 2016-05-31 11:12:42 +03:00
dwc3-keystone.c usb: dwc3: keystone: drop dma_mask configuration 2016-04-06 16:36:01 +03:00
dwc3-of-simple.c usb: dwc3: Remove impossible check for of_clk_get_parent_count() < 0 2016-02-26 16:01:32 -08:00
dwc3-omap.c usb: changes for v4.7 merge window 2016-04-28 09:32:39 -07:00
dwc3-pci.c usb: dwc3: pci: pass the platform device as a parameter to dwc3_pci_quirks() 2016-04-28 09:01:59 +03:00
dwc3-st.c usb: dwc3: st: Fix USB_DR_MODE_PERIPHERAL configuration. 2016-05-31 11:24:31 +03:00
ep0.c usb: dwc3: gadget: pass dep as argument to endpoint command 2016-06-20 12:32:31 +03:00
gadget.c usb: dwc3: gadget: pass dep as argument to endpoint command 2016-06-20 12:32:31 +03:00
gadget.h usb: dwc3: better name for our request management lists 2016-04-14 09:24:38 +03:00
host.c usb: dwc3: make LPM configurable in DT 2015-03-10 15:33:33 -05:00
io.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
platform_data.h usb: dwc3: add disable receiver detection in P3 quirk 2016-04-18 15:23:44 +03:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: trace: show request flags 2015-12-15 09:12:41 -06:00
ulpi.c usb: dwc3: add ULPI interface support 2015-05-13 12:06:52 -05:00