alistair23-linux/drivers/usb/renesas_usbhs
Kazuya Mizuguchi 29c7f3e68e usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
The DREQE bit of the DnFIFOSEL should be set to 1 after the DE bit of
USB-DMAC on R-Car SoCs is set to 1 after the USB-DMAC received a
zero-length packet. Otherwise, a transfer completion interruption
of USB-DMAC doesn't happen. Even if the driver changes the sequence,
normal operations (transmit/receive without zero-length packet) will
not cause any side-effects. So, this patch fixes the sequence anyway.

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
[shimoda: revise the commit log]
Fixes: e73a9891b3 ("usb: renesas_usbhs: add DMAEngine support")
Cc: <stable@vger.kernel.org> # v3.1+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-10-11 13:13:52 +03:00
..
common.c
common.h
fifo.c usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet 2017-10-11 13:13:52 +03:00
fifo.h
Kconfig
Makefile
mod.c
mod.h
mod_gadget.c usb: changes for v4.14 merge window 2017-08-22 13:16:06 -07:00
mod_host.c usb: renesas_usbhs: constify hc_driver structures 2017-07-30 07:26:52 -07:00
pipe.c
pipe.h
rcar2.c
rcar2.h
rcar3.c usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3 2017-08-03 12:32:25 +03:00
rcar3.h