Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7526449imm; Tue, 28 Aug 2018 13:48:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbHsO1Rzf8dTeN3tedA5Ri0lf5XunLWut9fUIRbvFaZ51t2BeVCrH59KufA0EBTrKG1qe73 X-Received: by 2002:a63:ce12:: with SMTP id y18-v6mr3038127pgf.144.1535489318915; Tue, 28 Aug 2018 13:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535489318; cv=none; d=google.com; s=arc-20160816; b=xRCtrZ/4D8groNSVVo19Ap7CwKFCNCs1daWmd8/fs55UOEipMRGUdVXWIhdFGmQhYl h5c/NJnLvltmbZUrL4B+HDLQGy4x0mMyx5F3KKd/ou3f7zgiO4zw+enCaoZDu1AgwOhh kQr99JhPD9EQtbizI4lzAHUbZrc1iYpTgDtcpWxjtgXZhxO67WH6jaSe3j7f7+iMidl+ 73qecLmAeqodaxvCMQur+ffWPQo5hBSXjFrNRQPty6XhJq3CwpCQ9OyWB1hxOg66n7GL W7Y5LQRql4Awhbklb74LIzcrl1OVnVIp8mkV6ah7PVXBAX042iAsH08rG7zJE8VZ/Umg N0fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=tJ51v58nu4Fiu4X0nTQgXghzl2vS54k1TgL5kQcVxMw=; b=GhyZ9h6T+cVtreOYkReZoozBabiPxhCIdZhXWuRimWLv+WShiQMA45whGxru3qcOKc L+euiSmw6goarlUYDHf9YVUfSfi7e8ESRYHEDhuzAIfJAk1bHllMZCf858S8RO1B2Xii nyimalL43xwxQv0LwarL9wrhIUvrCiR/g8nvXoX2rXX+9dt+bDSZtIy+YRh+L2fozRCr IQojSWu6XKndmf/IE3UpwmRAW6e1wBJ4pKIntB84YPNyUPRJFl+bGJFzWEeM8XSpLsz2 1PFR1A/dctH8GnJ02tE8PuOc97CXMrcATvT6xJGgRcBFf+7b0jABvAUZkoWE2oo8R45p V6QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Gdeg+s4d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si1824332plc.475.2018.08.28.13.48.23; Tue, 28 Aug 2018 13:48:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Gdeg+s4d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727467AbeH2AkL (ORCPT + 99 others); Tue, 28 Aug 2018 20:40:11 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:39380 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbeH2AkL (ORCPT ); Tue, 28 Aug 2018 20:40:11 -0400 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=tJ51v58nu4Fiu4X0nTQgXghzl2vS54k1TgL5kQcVxMw=; b=Gdeg+s4dSpsg hW+D2ixqtZ7ZJFAxdPlZHMNmZbKmBTCzzUTJ+7JGXmyzcPBCTNefcVPG8wPkrVhx1oQKYsWgXPRcO yqq5h62ApV7t1UkGwlsyAhTPKBfFYYNIt+X66yaUfotcGZFffB8u51E0M3mPildCJ7C6fTx6sAhHM WSfoI=; Received: from 188.29.165.122.threembb.co.uk ([188.29.165.122] 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 1fuksl-0007j0-BA; Tue, 28 Aug 2018 20:46:38 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id DFE2744007A; Tue, 28 Aug 2018 21:46:00 +0100 (BST) From: Mark Brown To: Ryan Lee Cc: Mark Brown , lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ryans.lee@maximintegrated.com, kuninori.morimoto.gx@renesas.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, ryan.lee.maxim@gmail.com, alsa-devel@alsa-project.org Subject: Applied "ASoC: max98373: Added 10ms sleep after amp software reset" to the asoc tree In-Reply-To: <20180824013708.23737-1-ryans.lee@maximintegrated.com> Message-Id: <20180828204600.DFE2744007A@finisterre.ee.mobilebroadband> Date: Tue, 28 Aug 2018 21:46:00 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: max98373: Added 10ms sleep after amp software reset 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 ca917f9fe1a0fab3dde41bba4bbd173c5a3c5805 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Thu, 23 Aug 2018 18:37:08 -0700 Subject: [PATCH] ASoC: max98373: Added 10ms sleep after amp software reset Signed-off-by: Ryan Lee Signed-off-by: Mark Brown --- sound/soc/codecs/max98373.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 2764fae69333..1093f766d0d2 100644 --- a/sound/soc/codecs/max98373.c +++ b/sound/soc/codecs/max98373.c @@ -730,6 +730,7 @@ static int max98373_probe(struct snd_soc_component *component) /* Software Reset */ regmap_write(max98373->regmap, MAX98373_R2000_SW_RESET, MAX98373_SOFT_RESET); + usleep_range(10000, 11000); /* IV default slot configuration */ regmap_write(max98373->regmap, @@ -818,6 +819,7 @@ static int max98373_resume(struct device *dev) regmap_write(max98373->regmap, MAX98373_R2000_SW_RESET, MAX98373_SOFT_RESET); + usleep_range(10000, 11000); regcache_cache_only(max98373->regmap, false); regcache_sync(max98373->regmap); return 0; -- 2.18.0