Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cb60156 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Felipe Balbi
Browse files

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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 4f053a24
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -795,6 +795,7 @@ static void xfer_work(struct work_struct *work)
	dev_dbg(dev, "  %s %d (%d/ %d)\n",
	dev_dbg(dev, "  %s %d (%d/ %d)\n",
		fifo->name, usbhs_pipe_number(pipe), pkt->length, pkt->zero);
		fifo->name, usbhs_pipe_number(pipe), pkt->length, pkt->zero);


	usbhs_pipe_enable(pipe);
	usbhsf_dma_start(pipe, fifo);
	usbhsf_dma_start(pipe, fifo);
	dma_async_issue_pending(chan);
	dma_async_issue_pending(chan);
}
}