Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp6006247ybl; Tue, 27 Aug 2019 12:59:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqze+pMf5ha96ZJ2wp0/vwJ8RtSwQO1XfkI31Hw3zPEAAMWt3A50MNsuvsMlKOwqRinr+RGF X-Received: by 2002:a63:6eca:: with SMTP id j193mr145779pgc.74.1566935976028; Tue, 27 Aug 2019 12:59:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566935976; cv=none; d=google.com; s=arc-20160816; b=R+7yX3t4NCo4F79htuXClbmVtINJuT5M+vgBi561iRR2o4f9xNdFSBq9CwVbD98Ojl P/CxKp7CyabpWxB2hrYDiWD7Ihk5fNYDkcIHvp433aiyg0q5s4wMYnHQTSXY6fXKvjqv 5FZD3gn45+du5ZefOD5aqpZoaOpnQTWovna9bgaYwpJS3xjK6Iyx/ja12Yuls0cCRdUo aAik/oF9tZE0z5+xpv4MJV1u4LInmH9ZsHfeOObvBvE0SL21qiOPC1OnQ+52YXuIfeWu hzniN7DXLFQofIbsCqPy0t+Lec46ANSDe7UtTmNqR/1N7wTSpKIxwtmN24rAFIaTznin c2GA== 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; bh=eh2Bqn1HU9pG1FKde+0Wh38v6oHDofMbM5lmPpHqqII=; b=zmnko/oDWLNGilLUGfX6lNTBleMGsT5dL8Mmw1LgpSGMdf04Kv6zMQxC7Go0NxjRwM S6gf7PMJcQxjeAA5yBTezx7q6Ib7qxDwOniu0yAuwPAaAs7fBu/l0jrZLnRcHMdUJWxD fqGpLP0jXvi3NbINEM2UY7Ompd7vLEyLYbsK9n7/VZamltJN7LXJyA0z8D6bHU5R2axX cXhfxjFUucSBims8/+EgGeHJEhyJkDID2ZSy6GrkzoW1mRPAI8JTZKvRYa6rFMHJKjQH Advz8FvJOPfnKbiHI56Hm6SzWBPBtPbKsmYKx0QKu0o6qYmugnQ5oEAfRVgyCUuH4NRi 4y5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=sI9cXxqe; 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 t191si208229pgd.370.2019.08.27.12.59.20; Tue, 27 Aug 2019 12:59:36 -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=sI9cXxqe; 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 S1731307AbfH0T6X (ORCPT + 99 others); Tue, 27 Aug 2019 15:58:23 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:48330 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729626AbfH0T6W (ORCPT ); Tue, 27 Aug 2019 15:58:22 -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=eh2Bqn1HU9pG1FKde+0Wh38v6oHDofMbM5lmPpHqqII=; b=sI9cXxqehsaw AxbJ9fuuT1Q5bG4SlqBVghaPP6aeJvmfwNQ5MiO9QcyIxYUeXeiVxJehgqBJCHj3WLmr572oEpMh/ qGTTQMjolQITeQUt+fpPQsr/BaMapvi+hDVw/pxHwhGfPJf1DNjRcIhFgPgNs64Nuc6WhmAU2rRFT QQ0OI=; Received: from 188.28.18.107.threembb.co.uk ([188.28.18.107] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i2hb8-0001BS-PI; Tue, 27 Aug 2019 19:57:47 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 50AB0D02CE9; Tue, 27 Aug 2019 20:57:44 +0100 (BST) From: Mark Brown To: Shengjiu Wang Cc: alsa-devel@alsa-project.org, brian.austin@cirrus.com, broonie@kernel.org, Dong Aisheng , lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Mark Brown , Paul.Handrigan@cirrus.com, perex@perex.cz, tiwai@suse.com Subject: Applied "ASoC: cs42xx8: Force suspend/resume during system suspend/resume" to the asoc tree In-Reply-To: <1566944026-18113-1-git-send-email-shengjiu.wang@nxp.com> X-Patchwork-Hint: ignore Message-Id: <20190827195744.50AB0D02CE9@fitzroy.sirena.org.uk> Date: Tue, 27 Aug 2019 20:57:44 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: cs42xx8: Force suspend/resume during system suspend/resume has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 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 b429ca49406501e2c48c2a137eab12910c21ad0c Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Tue, 27 Aug 2019 18:13:46 -0400 Subject: [PATCH] ASoC: cs42xx8: Force suspend/resume during system suspend/resume Use force_suspend/resume to make sure clocks are disabled/enabled accordingly during system suspend/resume. Signed-off-by: Dong Aisheng Signed-off-by: Shengjiu Wang Reviewed-by: Daniel Baluta Link: https://lore.kernel.org/r/1566944026-18113-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown --- sound/soc/codecs/cs42xx8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c index 5b049fcdba20..94b1adb088fd 100644 --- a/sound/soc/codecs/cs42xx8.c +++ b/sound/soc/codecs/cs42xx8.c @@ -684,6 +684,8 @@ static int cs42xx8_runtime_suspend(struct device *dev) #endif const struct dev_pm_ops cs42xx8_pm = { + SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, + pm_runtime_force_resume) SET_RUNTIME_PM_OPS(cs42xx8_runtime_suspend, cs42xx8_runtime_resume, NULL) }; EXPORT_SYMBOL_GPL(cs42xx8_pm); -- 2.20.1