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)
commitefcc3c61b9b1e4f764e14c48c553e6d477f40512
treef74c4890308519ef9e8563e6645d82408947bd36
parentfabd03842b77b1eb6c9b08c79be86fa38afbe310
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