From: Kuninori Morimoto Date: Wed, 17 Oct 2012 06:33:30 +0000 (-0700) Subject: usb: renesas_usbhs: fixup dma transfer stall X-Git-Tag: v3.7-rc6~9^2~6^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cb60156defa4f23d5318ea1ddd400f25b2d0ce5;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c index 143c4e9..c021b20 100644 --- a/drivers/usb/renesas_usbhs/fifo.c +++ b/drivers/usb/renesas_usbhs/fifo.c @@ -795,6 +795,7 @@ static void xfer_work(struct work_struct *work) dev_dbg(dev, " %s %d (%d/ %d)\n", fifo->name, usbhs_pipe_number(pipe), pkt->length, pkt->zero); + usbhs_pipe_enable(pipe); usbhsf_dma_start(pipe, fifo); dma_async_issue_pending(chan); }