From 07bf84aaf736781a283b1bd36eaa911453b14574 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Wed, 25 Apr 2012 12:12:52 +0100 Subject: ASoC: dpcm: Add bespoke trigger() Some on SoC DSP HW is very tightly coupled with DMA and DAI drivers. It's necessary to allow some flexability wrt to PCM operations here so that we can define a bespoke DPCM trigger() PCM operation for such HW. A bespoke DPCM trigger() allows exact ordering and timing of component triggering by allowing a component driver to manage the final enable and disable configurations without adding extra complexity to other component drivers. e.g. The McPDM DAI and ABE are tightly coupled on OMAP4 so we have a bespoke trigger to manage the trigger to improve performance and reduce complexity when triggering new McPDM BEs. Signed-off-by: Liam Girdwood Signed-off-by: Mark Brown --- include/sound/soc-dpcm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sound/soc-dpcm.h') diff --git a/include/sound/soc-dpcm.h b/include/sound/soc-dpcm.h index d1a4b50018d2..04598f1efd77 100644 --- a/include/sound/soc-dpcm.h +++ b/include/sound/soc-dpcm.h @@ -60,6 +60,7 @@ enum snd_soc_dpcm_state { enum snd_soc_dpcm_trigger { SND_SOC_DPCM_TRIGGER_PRE = 0, SND_SOC_DPCM_TRIGGER_POST, + SND_SOC_DPCM_TRIGGER_BESPOKE, }; /* -- cgit v1.2.3-59-g8ed1b