usb: gadget: mv_udc: rewrite queue_dtd according to spec
authorNeil Zhang <zhangwm@marvell.com>
Thu, 15 Dec 2011 11:26:39 +0000 (19:26 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 19 Dec 2011 08:02:24 +0000 (10:02 +0200)
commit91d959d8e5fa52def4bdbb184c57427c29ce7602
tree59820869d59aeb0aab4f7d48651e5ef28fb3fbd9
parent86bb702813010a0870c45d7f080669450a95be8d
usb: gadget: mv_udc: rewrite queue_dtd according to spec

Rewrite function queue_dtd according to ChipIdea's reference manual.
Remove all unnecessary logic, it will enhance the performance.

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