• Mark Brown's avatar
    ASoC: Add support for sequencing within · 20e4859d
    Mark Brown authored
    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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
    20e4859d
soc-dapm.c 60.2 KB