aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/mbcs.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2014-08-22 20:14:10 +0900
committerFelipe Balbi <balbi@ti.com>2014-09-03 09:15:58 -0500
commitc0ed8b23b257a84d103764cdbd490ee5e2749da3 (patch)
tree45629df6db135cf0ceca8362f42256d4dbc57f7f /drivers/char/mbcs.c
parentc4d8199ba1a7aa390b06db23f4532e2c1875aefb (diff)
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 'drivers/char/mbcs.c')
0 files changed, 0 insertions, 0 deletions