]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 10 Mar 2016 02:30:15 +0000 (11:30 +0900)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 20 Apr 2016 05:03:42 +0000 (01:03 -0400)
commit5c059995372c2861bb71cd761fc50cf773015d14
treee637f2c9b9b509c91c2d3ea1325a0b28524a3246
parent250443d81ea8150c3445c87a291a3ef482cd3ad7
usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer

[ Upstream commit 6490865c67825277b29638e839850882600b48ec ]

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")
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: Sasha Levin <sasha.levin@oracle.com>
drivers/usb/renesas_usbhs/fifo.c