summaryrefslogtreecommitdiff
path: root/lib/prio_heap.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2014-08-22 11:14:10 (GMT)
committerFelipe Balbi <balbi@ti.com>2014-09-03 14:15:58 (GMT)
commitc0ed8b23b257a84d103764cdbd490ee5e2749da3 (patch)
tree45629df6db135cf0ceca8362f42256d4dbc57f7f /lib/prio_heap.c
parentc4d8199ba1a7aa390b06db23f4532e2c1875aefb (diff)
downloadlinux-c0ed8b23b257a84d103764cdbd490ee5e2749da3.tar.xz
usb: renesas_usbhs: fix the condition of is_done in usbhsf_dma_push_done
This patch fixes the condition of is_done in usbhsf_dma_push_done(). This function will be called after a transmission finished by DMAC. So, the function should check if the transmission packet is short packet or not. Also the function should call try_run to send the zero packet by the pio handler if the "*is_done" is not set. Otherwize, the transaction will not finish if a gadget driver sets the "zero" flag in a transmission. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'lib/prio_heap.c')
0 files changed, 0 insertions, 0 deletions