linux/drivers/usb/renesas_usbhs
Yoshihiro Shimoda c0ed8b23b2 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>
2014-09-03 09:15:58 -05:00
..
common.c usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
common.h usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
fifo.c usb: renesas_usbhs: fix the condition of is_done in usbhsf_dma_push_done 2014-09-03 09:15:58 -05:00
fifo.h usb: renesas: remove unused DMA_ADDR_INVALID 2013-03-18 11:18:13 +02:00
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
mod_gadget.c usb: renesas_usbhs: gadget: fix re-enabling pipe without re-connecting 2014-07-10 08:36:49 -05:00
mod_host.c usb: hcd: move controller wakeup setting initialization to individual driver 2013-12-08 18:06:46 -08:00
mod.c usb: renesas_usbhs: protect mod->irq_{bemp,brdy}sts by spin lock 2014-09-03 09:15:57 -05:00
mod.h
pipe.c usb: renesas_usbhs: fix the behavior of some usbhs_pkt_handle 2014-09-03 09:15:57 -05:00
pipe.h usb: renesas_usbhs: fix the behavior of some usbhs_pkt_handle 2014-09-03 09:15:57 -05:00
rcar2.c usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
rcar2.h usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00