]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: simplify __dwc3_gadget_ep_queue()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 11 Aug 2016 11:27:52 +0000 (14:27 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 22 Aug 2016 07:45:37 +0000 (10:45 +0300)
commit0ea49b3d32a43bbf00568993188fac1a006b27a4
treed490efdbcf9246ad5b2b4a1f3d61e1956b824aba
parent6f5bd77b0074a054f4a88fa786d5fe866512f6fd
usb: dwc3: gadget: simplify __dwc3_gadget_ep_queue()

Many of the comments in that function are really
outdated and don't match what the driver is
doing. Moreover, recent patches combined programming
model for all non-control endpoints, this gives us
an opportunity to get rid of our special cases in
__dwc3_gadget_ep_queue().

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c