usb: dwc2: Fix crash in incomplete isoc intr handlers.
authorArtur Petrosyan <Arthur.Petrosyan@synopsys.com>
Sat, 5 May 2018 08:30:16 +0000 (04:30 -0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 May 2018 07:16:50 +0000 (10:16 +0300)
commitd5d5f079138254e4d641de2f36760d0d0fc9f510
tree87280d9b484418a1a61350495e365af569960b94
parentb43ebc96e985fed9417c6aff769a6839bdaa6cdf
usb: dwc2: Fix crash in incomplete isoc intr handlers.

Crash caused by going out of "eps_out" array range.
Iteration on "eps_out" changed to less than "num_of_eps".

Signed-off-by: Artur Petrosyan <arturp@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c