commit | 96c2bbb09d0742148a305d7afbdf7c5803fd78c1 | [log] [tgz] |
---|---|---|
author | Neil Zhang <zhangwm@marvell.com> | Wed Oct 12 16:49:30 2011 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Thu Oct 13 20:42:02 2011 +0300 |
tree | 85f75eeedcaedf0200631d3c5176ce2862ae5bef | |
parent | fbebe1f070a73c108415bb9ee0483570650e2712 [diff] |
usb: gadget: mv_udc: fix bug when handle setup package. For the code doesn't restrict controller ep must be ep0, so we will go through all the eps and check if there is a setup package received. And also we just need to acknowledge the corresponding bit in ENDPTSETUPSTAT register. Signed-off-by: Neil Zhang <zhangwm@marvell.com> Signed-off-by: Felipe Balbi <balbi@ti.com>