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

Commit db1d8ba3 authored by Anton Tikhomirov's avatar Anton Tikhomirov Committed by Felipe Balbi
Browse files

usb: s3c-hsotg: Fix big buffers transfer in DMA mode



DMA address register shouldn't be updated manually if transfer size
requires multiple packets.

Signed-off-by: default avatarAnton Tikhomirov <av.tikhomirov@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 70fa030f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -741,7 +741,7 @@ static void s3c_hsotg_start_req(struct s3c_hsotg *hsotg,
	/* write size / packets */
	writel(epsize, hsotg->regs + epsize_reg);

	if (using_dma(hsotg)) {
	if (using_dma(hsotg) && !continuing) {
		unsigned int dma_reg;

		/* write DMA address to control register, buffer already