Files
kernel_amazon_mt8127-common/drivers
Kazuya Mizuguchi 9a95fe3d74 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
commit 29c7f3e68eec4ae94d85ad7b5dfdafdb8089f513 upstream.

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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-11-01 22:12:42 +01:00
..
2017-06-20 14:04:47 +02:00
2017-06-08 00:46:53 +02:00
2017-06-08 00:46:57 +02:00
2017-02-10 11:03:35 +01:00
2017-06-20 14:04:54 +02:00
2017-06-20 14:04:40 +02:00
2017-06-20 14:04:29 +02:00
2017-06-08 00:47:05 +02:00