usb: renesas_usbhs: fix the usb_pkt_pop()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 22 Aug 2014 11:14:28 +0000 (20:14 +0900)
committerFelipe Balbi <balbi@ti.com>
Wed, 3 Sep 2014 14:15:58 +0000 (09:15 -0500)
commit2743e7f90dc08282d027dbc2f6486f5cb85aa493
tree5ccf163ee5486c9c84faa5129012d97a5e680230
parentc0ed8b23b257a84d103764cdbd490ee5e2749da3
usb: renesas_usbhs: fix the usb_pkt_pop()

This patch fixes the usb_pkt_pop(). If a gadget driver calls
usb_ep_dequeue(), this driver will call the usb_pkt_pop().
So, the usb_pkt_pop() should cancel the transaction.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/fifo.c