From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: [PATCH] ASoC: dapm: Fix handling of loops Date: Fri, 22 Feb 2013 21:41:54 +0000 Message-ID: <1361569314.2567.13.camel@loki> References: <1361555534-6811-1-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by alsa0.perex.cz (Postfix) with ESMTP id B52CF262625 for ; Fri, 22 Feb 2013 22:42:07 +0100 (CET) In-Reply-To: <1361555534-6811-1-git-send-email-broonie@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: alsa-devel@alsa-project.org, Liam Girdwood List-Id: alsa-devel@alsa-project.org 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 Acked-by: Liam Girdwood