usb: dwc2: gadget: use ep->fifo_index in context of FIFO registers
authorRobert Baldyga <r.baldyga@samsung.com>
Mon, 29 Aug 2016 20:38:50 +0000 (13:38 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 31 Aug 2016 07:06:05 +0000 (10:06 +0300)
commitad674a15249e7d800162858e49272877a782ec40
tree24376bb4d99f581756930c0b2b1be19ee1ad9121
parentda7b895d518cc1753ee5f4b7f2158087282d1a65
usb: dwc2: gadget: use ep->fifo_index in context of FIFO registers

In context of FIFO registers we use ep->fifo_index instead of ep->index.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c