usb: dwc3: gadget: Initialize the TRB ring
authorJohn Youn <johnyoun@synopsys.com>
Fri, 20 May 2016 00:26:08 +0000 (17:26 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:43 +0000 (12:32 +0300)
commit0d25744ad107b6c9010153f3ebf8b59672b5b8e7
treea490370c811497d5c4a19540ad52c0983002ad54
parentdca0119c3ab69fea2429ec2db7e3686614bd1439
usb: dwc3: gadget: Initialize the TRB ring

Clears out all the TRBs in the ring to clean up any stale data that
might be in them from the previous time the endpoint was enabled.

Also removed the existing clear of the LINK trb since the entire ring is
cleard just before.

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