]> 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)
commit8098a548bda657ae1eb99ecdd8ae15c32d6ee06a
treef74c4890308519ef9e8563e6645d82408947bd36
parent3f2b6a6f52869128e64f9846c06baa96ff028eab
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