From patchwork Fri Nov 24 13:03:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 119581 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2137893edl; Fri, 24 Nov 2017 05:03:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMYp9Ok7bE++QAp4aOM6ET7vXl3jBKnsJ8SJdblI84n0283QkfP7IUtOdxOI6LSx6t8NcID7 X-Received: by 10.28.247.16 with SMTP id v16mr10767115wmh.128.1511528631780; Fri, 24 Nov 2017 05:03:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511528631; cv=none; d=google.com; s=arc-20160816; b=uEVoNrp5t/8Esq7iajexPPP2b3TTIaWuRN2ioBA+7a2Jd+1NtfsJ5z6v3Gua/lJ8GS QjQdHfFnGoVkXz526rPsd1JLu8zUAfVc674WTUWA31NfFm+71H42TsrzAW7ZhAGweSgf fcfnv6Y24W14P8kIZ++7fBJqFCcd36uOa1rzst8G5lSUYTLjoX8chrM9v8apQNNTTDyz BNh7Z2kcs/wX0kWpYxXVL/fsZBHmeCUKWeChkWS6Fs1l+8lQpLV2nAEeHIUFOPXYFfNk 8LWuY602Jn00d+ZL2HRkXAOwRQtaM0Dt2bxtqwefdPKZNdbewOVPVJvJxOGYf2oY42Wy z2dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=ecKyFWlv3AjwpGoNffBFoKbsb1cmfNNyWItTWrZUa0o=; b=kCVOWjCPzwgnyjesVL07priPXXD0omg8VwLCvFMk3zdmc6p3gDeJUvAyKTdJpXkOen flSRWPiqjrZfaQRkxdCabUoIK+oSVfeAN5KnVA3bc4Eq8AcE6i/DOO/BUqtq1T06ERXp Kxy977N+dDX+g1bn2ZdoP0ucXTlVdL3NB9t6gbLnVr24RZdvi5oRYzEPDkmLF7KRmgwP fw0i22LRclNHnXU5MT9En1s6SnmIO44bmBbZ0l8zUxPDn0ynOrx7Q/KBYLMY36oSSzlq QIPqRGZOECnnKRYpHWDHdXHdMNDMBrNa/ecrXyYjFcVDQSluILsFaRL2UOWk9Clx99Nc 0R7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=NsisIRpW; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id r125si7095646wmg.70.2017.11.24.05.03.50; Fri, 24 Nov 2017 05:03:51 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=NsisIRpW; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 247E9267970; Fri, 24 Nov 2017 14:03:49 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id DA5ED267971; Fri, 24 Nov 2017 14:03:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id BAFC4267962 for ; Fri, 24 Nov 2017 14:03:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=/2HhprE4+3fJrQkwbDPD7d0SxcBa7I1bEA+HyN7BvZQ=; b=NsisIRpWtL26 6KBNVIrdKOo25Yu03+a9KTeXgDidpVUVAx2W1seZK/fS6t9udh5Wvp2n0/exc4B08B+Ff+MBTX5iM 7vBroEN8T8GdSxA5rf/PQ2vMf43mhONzGIIjeNaVgul8sqXAUfXbA3nSzFng7DLjVKHjMLuSqf7kT 4Ch64=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eIDdw-0003fY-Be; Fri, 24 Nov 2017 13:03:44 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id CCBB444005B; Fri, 24 Nov 2017 13:03:43 +0000 (GMT) From: Mark Brown To: oder_chiou@realtek.com In-Reply-To: <1511504597-2948-1-git-send-email-oder_chiou@realtek.com> Message-Id: <20171124130343.CCBB444005B@finisterre.ee.mobilebroadband> Date: Fri, 24 Nov 2017 13:03:43 +0000 (GMT) Cc: Oder Chiou , jack.yu@realtek.com, alsa-devel@alsa-project.org, lgirdwood@gmail.com, broonie@kernel.org, shumingf@realtek.com, bardliao@realtek.com, flove@realtek.com, cychiang@chromium.org Subject: [alsa-devel] Applied "ASoC: rt5514: Make sure the DMIC delay will be happened after normal SUPPLY widgets power on" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: rt5514: Make sure the DMIC delay will be happened after normal SUPPLY widgets power on has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 254beff97b4714bac4ec8add5a6888c1adc1ad8f Mon Sep 17 00:00:00 2001 From: "oder_chiou@realtek.com" Date: Fri, 24 Nov 2017 16:11:22 +0800 Subject: [PATCH] ASoC: rt5514: Make sure the DMIC delay will be happened after normal SUPPLY widgets power on The patch makes sure the DMIC delay will be happened after normal SUPPLY widgets power on. If there are some platforms that provide the MCLK using the SUPPLY widget, it will make sure the delay time is helpful. Signed-off-by: Oder Chiou Signed-off-by: Mark Brown --- sound/soc/codecs/rt5514.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/rt5514.c b/sound/soc/codecs/rt5514.c index 2a5b5d74e697..2dd6e9f990a4 100644 --- a/sound/soc/codecs/rt5514.c +++ b/sound/soc/codecs/rt5514.c @@ -496,7 +496,7 @@ static const struct snd_soc_dapm_widget rt5514_dapm_widgets[] = { SND_SOC_DAPM_PGA("DMIC1", SND_SOC_NOPM, 0, 0, NULL, 0), SND_SOC_DAPM_PGA("DMIC2", SND_SOC_NOPM, 0, 0, NULL, 0), - SND_SOC_DAPM_SUPPLY("DMIC CLK", SND_SOC_NOPM, 0, 0, + SND_SOC_DAPM_SUPPLY_S("DMIC CLK", 1, SND_SOC_NOPM, 0, 0, rt5514_set_dmic_clk, SND_SOC_DAPM_PRE_PMU), SND_SOC_DAPM_SUPPLY("ADC CLK", RT5514_CLK_CTRL1,