OSDN Git Service

ASoC: soc-pcm: add option to start DMA after DAI
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 28 Feb 2023 11:01:43 +0000 (13:01 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 28 Feb 2023 13:58:48 +0000 (13:58 +0000)
commit54fc4b72b630e1cb92a21140084c6852babbb234
tree5991c1f2fa87be3b1199e40687bd5e42a3910010
parentfb1847cc460c127b12720119eae5f438ffc62e85
ASoC: soc-pcm: add option to start DMA after DAI

Add option to start DMA component after DAI trigger. This is done
by filling the new struct snd_soc_component_driver::start_dma_last.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230228110145.3770525-2-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-component.h
sound/soc/soc-pcm.c