]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dpcm: Add runtime dynamic route update
authorLiam Girdwood <lrg@ti.com>
Wed, 25 Apr 2012 11:12:51 +0000 (12:12 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Apr 2012 16:48:19 +0000 (17:48 +0100)
commit7d282d186d0d562e7ac048de1c88d08676ad715f
tree99c882f9657b492bc2b721e36e82831efb1b66ca
parent6c4a0c1684b88ef541c78503925d19f79fb8aaa3
ASoC: dpcm: Add runtime dynamic route update

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: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dpcm.h
sound/soc/soc-dapm.c
sound/soc/soc-pcm.c