usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer
commit288349b2b4c85107900c64f468fff4300fd05253
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 10 Mar 2016 02:30:15 +0000 (10 11:30 +0900)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 30 Apr 2016 22:06:06 +0000 (1 00:06 +0200)
tree983ca5464230aa22e403f2bf97aa731487d5ccf2
parent0a76bf6092d668f47d038937851ebbc7316b506e
usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer

commit 6490865c67825277b29638e839850882600b48ec upstream.

This patch adds a code to surely disable TX IRQ of the pipe before
starting TX DMAC transfer. Otherwise, a lot of unnecessary TX IRQs
may happen in rare cases when DMAC is used.

Fixes: e73a989 ("usb: renesas_usbhs: add DMAEngine support")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/renesas_usbhs/fifo.c