]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Add support for sequencing within
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 15 Jan 2011 13:40:50 +0000 (13:40 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Jan 2011 13:02:32 +0000 (13:02 +0000)
commit2abe31c7fe1a8c8037760db661bebe18907659fd
treee7fff82807a50a5e0930438d7bf2f93826a95ec7
parent249e3f921864e3d39b3ed366d94fb8d05335ac7b
ASoC: Add support for sequencing within

With larger devices there may be many widgets of the same type in series
in an audio path. Allow drivers to specify an additional level of ordering
within each widget type by adding a subsequence number to widgets and then
splitting operations on widgets so that widgets of the same type but
different sequence numbers are processed separately.  A typical example
would be a supply widget which requires that another widget be enabled
to provide power or clocking.

SND_SOC_DAPM_PGA_S() and SND_SOC_DAPM_SUPPLY_S() macros are provided
allowing this to be used with PGAs and supplies as these are the most
commonly affected widgets.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c