usb: dwc3: gadget: fix skip LINK_TRB on ISOC
authorPratyush Anand <pratyush.anand@st.com>
Mon, 14 Jan 2013 10:29:35 +0000 (15:59 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 18 Jan 2013 12:30:42 +0000 (14:30 +0200)
commit915e202aeeb59e272992a6364c910aaef3073544
tree82dacad3edaf027f778632f113fd262076c39029
parentcdc359dd87ab6c39a67dab724fd0b61c16e6f08b
usb: dwc3: gadget: fix skip LINK_TRB on ISOC

When we reach to link trb, we just need to increase free_slot and then
calculate TRB. Return is not correct, as it will cause wrong TRB DMA
address to fetch in case of update transfer.

Cc: <stable@vger.kernel.org>
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c