From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: [PATCH 3/3] ASoC: core: Change power state before rechecking endpoint Date: Mon, 23 Nov 2015 17:06:41 +0100 Message-ID: <56533991.8000601@metafoo.de> References: <1448293951-32071-1-git-send-email-vinod.koul@intel.com> <1448293951-32071-4-git-send-email-vinod.koul@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-188.synserver.de (smtp-out-151.synserver.de [212.40.185.151]) by alsa0.perex.cz (Postfix) with ESMTP id 87167265357 for ; Mon, 23 Nov 2015 17:06:43 +0100 (CET) In-Reply-To: <1448293951-32071-4-git-send-email-vinod.koul@intel.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: Vinod Koul , alsa-devel@alsa-project.org Cc: liam.r.girdwood@linux.intel.com, patches.audio@intel.com, broonie@kernel.org, Jeeja KP List-Id: alsa-devel@alsa-project.org On 11/23/2015 04:52 PM, Vinod Koul wrote: > From: Jeeja KP > > For DAPM resume, we should first change the power state of the > card and then recheck the endpoints. This ensures the dapm is > resumed first and then userspace can resume the streams. The problem is that DAPM uses the userspace state to decide whether to power up or not. So this change won't work, it will keep the endpoints suspended.