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

Commit a1f146f3 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Vinod Koul
Browse files

dmaengine: edma: Support to suppress the period interrupts in cyclic mode



If the client (audio) does not request interrupts for every period we can
disable them.
With updated audio driver stack we can play audio w/o the need to process
any edma interrupts.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent b7f9bc52
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -718,9 +718,9 @@ static struct dma_async_tx_descriptor *edma_prep_dma_cyclic(
		edesc->absync = ret;

		/*
		 * Enable interrupts for every period because callback
		 * has to be called for every period.
		 * Enable period interrupt only if it is requested
		 */
		if (tx_flags & DMA_PREP_INTERRUPT)
			edesc->pset[i].param.opt |= TCINTEN;
	}