[alsa-devel] [PATCH] ASoC: dapm: Fix handling of loops
Liam Girdwood
liam.r.girdwood at linux.intel.com
Fri Feb 22 22:41:54 CET 2013
On Fri, 2013-02-22 at 17:52 +0000, Mark Brown wrote:
> Currently if a path loops back on itself we correctly skip over it to
> avoid going into an infinite loop but this causes us to ignore the need
> to power up the path as we don't count the loop for the purposes of
> counting inputs and outputs. This means that internal loopbacks within a
> device that have powered devices on them won't be powered up.
>
> Fix this by treating any path that is currently in the process of being
> recursed as having a single input or output so that it is counted for
> the purposes of power decisions.
>
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
More information about the Alsa-devel
mailing list