usb: gadget: mv_udc: fix bug in ep_dequeue
authorNeil Zhang <zhangwm@marvell.com>
Tue, 20 Dec 2011 05:20:20 +0000 (13:20 +0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 20 Dec 2011 10:53:21 +0000 (12:53 +0200)
commitc2bbd16b03d036bfeaa3efaae6491132500aa7ec
treefe9a269db5a327191c88211ae04144d8c321cd6d
parenta7250db36308424ae040f1b2eeb5bfd0cbee0b0d
usb: gadget: mv_udc: fix bug in ep_dequeue

According to ChipIdea's SPEC, we cannot touch curr_dtd_ptr in dqh
directly, use prime endpoint instead.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc_core.c