Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 66888C4332F for ; Wed, 28 Dec 2022 10:05:49 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8D8BC8C32; Wed, 28 Dec 2022 11:04:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8D8BC8C32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672221946; bh=qalDd+myo2qLfenOpxcXbxWoIdeR+/3NaNwCAVGLQQA=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=uWU9NrCHx0VIqV8yqwE0RV2y7fxnw3BIXVh76QuqBRlh8c9axLnpIF+qaxyan/gpM jw4JHokAiH4HU8WIzrljzueKXkKJvSymZzm3UI6cnEmvEHScXPPG28AuIG9Lshx3Id AGQwKq6oZHknWYg2D18WhTnz7zXCAyGAAunr6VTQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 061E1F80533; Wed, 28 Dec 2022 11:04:55 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2F598F80534; Wed, 28 Dec 2022 11:04:53 +0100 (CET) Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 65BCCF804D6 for ; Wed, 28 Dec 2022 11:04:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 65BCCF804D6 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=NqHR7X4A Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BS9nxMQ022393; Wed, 28 Dec 2022 04:04:48 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=OG9XGS/yzG0LuEw8LPDFuMlP88HYFc2qStzDlJJtW+o=; b=NqHR7X4A6wfz8J0YYlg96YqW820jwFZ1lMirs314sGM3ghE1UETOGhoO7mHXJWGzOupm asKh/Wg48GYsRmWuQaOhLMXR8cuSnPnQvjy8/wfy7lnhYCupDwwcGxBeFl5a/TuRN531 xB9YcZX6KFCJX50lZUc4E0OYw2gF1pwdc2i5ES5J8sMqnKsEMUF2opqnF+66ZNTkpnwx bxCp83AskePmm8VpMNoCgxy3/LIleN6RJgPm0NQAsFOIRywlgz7TJ4+wvhZPMjsBu2d0 ztz8Iyhl0/tnSLTy6J+vkTGdaiGOfoHnKQoFP0+ohpTiGxlorXzZLpL1gJaNFSZFa4Wc aQ== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3mnyq7axtu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Dec 2022 04:04:47 -0600 Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.20; Wed, 28 Dec 2022 04:04:45 -0600 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.20 via Frontend Transport; Wed, 28 Dec 2022 04:04:45 -0600 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 849B511CC; Wed, 28 Dec 2022 10:04:45 +0000 (UTC) Date: Wed, 28 Dec 2022 10:04:45 +0000 From: Charles Keepax To: Francesco Dolcini Subject: Re: [PATCH v1] ASoC: wm8904: fix wrong outputs volume after power reactivation Message-ID: <20221228100445.GG36097@ediswmail.ad.cirrus.com> References: <20221223080247.7258-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20221223080247.7258-1-francesco@dolcini.it> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: Fu9yuUhQccCSoGTvaTaywYAJ3xlovysj X-Proofpoint-ORIG-GUID: Fu9yuUhQccCSoGTvaTaywYAJ3xlovysj X-Proofpoint-Spam-Reason: safe X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, Takashi Iwai , Liam Girdwood , Mark Brown , Francesco Dolcini , Emanuele Ghidoli Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Fri, Dec 23, 2022 at 09:02:47AM +0100, Francesco Dolcini wrote: > From: Emanuele Ghidoli > > Restore volume after charge pump and PGA activation to ensure > that volume settings are correctly applied when re-enabling codec > from SND_SOC_BIAS_OFF state. > CLASS_W, CHARGE_PUMP and POWER_MANAGEMENT_2 register configuration > affect how the volume register are applied and must be configured first. > > Fixes: a91eb199e4dc ("ASoC: Initial WM8904 CODEC driver") > Link: https://lore.kernel.org/all/c7864c35-738c-a867-a6a6-ddf9f98df7e7@gmail.com/ > Signed-off-by: Emanuele Ghidoli > Signed-off-by: Francesco Dolcini > --- Acked-by: Charles Keepax Thanks, Charles