• Liam Girdwood's avatar
    ASoC: dpcm: Add runtime dynamic route update · 618dae11
    Liam Girdwood authored
    This patch allows DPCM to dynamically alter the FE to BE PCM links
    at runtime based on mixer setting updates. DAPM is looked up after
    every mixer update and we perform a DPCM runtime update if the
    mixer has a change of value.
    
    This patchs adds/changes the following :-
    
     o Adds DPCM runtime update core.
     o Changes soc_dapm_mixer_update_power() and soc_dapm_mux_update_power()
       to return if a change has occured rather than 0. No other users check
       atm.
    Signed-off-by: default avatarLiam Girdwood <lrg@ti.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    618dae11
soc-dpcm.h 3.67 KB