]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: avs: Use helper function to set up DMA
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Thu, 7 Jul 2022 12:41:49 +0000 (14:41 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jul 2022 17:53:24 +0000 (18:53 +0100)
commit70e0f510d990157f5931746fddd85c4e076f4625
treecea550f7a106dab4572a0347891b9580cd6ca44e
parent1ae0beb4d8c0ab68839b2edfac56c53728c9d7c1
ASoC: Intel: avs: Use helper function to set up DMA

dma_set_mask() and dma_set_coherent_mask() can be performed with one
call to dma_set_mask_and_coherent(), which slightly reduces amount of
code on our side.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220707124153.1858249-9-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/core.c