usb: gadget: ci_udc: implement usb_ep_ops dequeue callback
authorPeng Fan <Peng.Fan@freescale.com>
Fri, 28 Aug 2015 01:20:30 +0000 (09:20 +0800)
committerMarek Vasut <marex@denx.de>
Sat, 12 Sep 2015 18:24:42 +0000 (20:24 +0200)
commit70eaeb03c1fc173b1a7c11ad627d8cc8bbfe3e6c
treeaebe8a0a78392c3facf891dbea4d028470973811
parent89983478bdc99996bbc26bd63fd00358d3082cbe
usb: gadget: ci_udc: implement usb_ep_ops dequeue callback

Implement endpoint dequeue callback function.

Without this function, uboot will hang when executing fastboot comamnd.
See following flow:
"fastboot_tx_write_str->fastboot_tx_write->usb_ep_dequeue->ep->ops->dequeue"
without implement ci_udc dequeue function, ep->ops->dequeue is NULL, then
uboot will hang.

Tested on mx6qsabresd board with fastboot enabled.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Cc: "Ɓukasz Majewski" <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/ci_udc.c