]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/sound/soc-dai.h
ASoC: dpcm: Add bespoke trigger()
authorLiam Girdwood <lrg@ti.com>
Wed, 25 Apr 2012 11:12:52 +0000 (12:12 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Apr 2012 16:48:42 +0000 (17:48 +0100)
commit07bf84aaf736781a283b1bd36eaa911453b14574
treedc20d6d15dd5e90e25ec93146e87e3272e597395
parent47c88ffff73d27425be59b34a6d5a91518b5ebed
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 <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dai.h
include/sound/soc-dpcm.h
include/sound/soc.h
sound/soc/soc-pcm.c