]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Allow routes to be deleted at runtime
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 5 Jul 2012 16:24:19 +0000 (17:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Jul 2012 18:06:59 +0000 (19:06 +0100)
commit6d5a812d24ba8783f5c98ebfa4aa396b30f0cdbb
treef74c4890308519ef9e8563e6645d82408947bd36
parent4bae1c30bc2159f63361802b446714c77e9ce967
ASoC: dapm: Allow routes to be deleted at runtime

Since we're now relying on DAPM for things like enabling clocks when we
reparent the clocks for widgets we need to either use conditional routes
(which are expensive) or remove routes at runtime. Add a route removal
API to support this use case.

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