Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: renesas_usbhs: fixup dma transfer stall

renesas_usbhs driver can switch DMA/PIO transfer by using handler,
and each handler have push/pop direction.
But unfortunately, current dma push handler didn't a path
which calls usbhs_pipe_enable(). Thus, dma transfer never happened.
this patch fixes it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

authored by

Kuninori Morimoto and committed by
Felipe Balbi
1cb60156 4f053a24

+1
+1
drivers/usb/renesas_usbhs/fifo.c
··· 795 795 dev_dbg(dev, " %s %d (%d/ %d)\n", 796 796 fifo->name, usbhs_pipe_number(pipe), pkt->length, pkt->zero); 797 797 798 + usbhs_pipe_enable(pipe); 798 799 usbhsf_dma_start(pipe, fifo); 799 800 dma_async_issue_pending(chan); 800 801 }