Skip to contentSkip to conversation

patch "usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer" added to usb-linus

PATCH [email protected] 1 participant 1 message Apr 7, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer

to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.

The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)

The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.

If you have any questions about this process, please let me know.

Quoted 1 line

From 6490865c67825277b29638e839850882600b48ec Mon Sep 17 00:00:00 2001

From: Yoshihiro Shimoda <[email protected]>
Date: Thu, 10 Mar 2016 11:30:15 +0900
Subject: usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer

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 <[email protected]> # v3.1+
---
 drivers/usb/renesas_usbhs/fifo.c | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/renesas_usbhs/fifo.c +1 -0
index 0c25c01ade7a..000f9750149f 100644
@@ -890,6 +890,7 @@ static int usbhsf_dma_prepare_push(struct usbhs_pkt *pkt, int *is_done)
 
 	pkt->trans = len;
 
+	usbhsf_tx_irq_ctrl(pipe, 0);
 	INIT_WORK(&pkt->work, xfer_work);
 	schedule_work(&pkt->work);
 
Signature · 1 line
2.8.0