Commit 1bafbf4f authored by Kai Vehmanen's avatar Kai Vehmanen Committed by Alberto Escolar
Browse files

drivers: dma: intel-adsp-hda: optimize L1 exit handling in ISR



Use the existing 'atomic' bitmask to speed up ISR processing for
CONFIG_DMA_INTEL_ADSP_HDA_TIMING_L1_EXIT. This bitmask is used
to track enabled DMA channels.

In the common case, only a few DMA channels are active and low
channels are allocated first. Take advantage of this and not
iterate over all DMA channels of all all host devices. Rather
break out as soon as L1 exit handling is done for all enabled
channels.

Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
parent ccfd16e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment