From patchwork Wed Aug 23 11:24:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 110740 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3981996qge; Wed, 23 Aug 2017 04:26:56 -0700 (PDT) X-Received: by 10.28.155.194 with SMTP id d185mr1498875wme.157.1503487616400; Wed, 23 Aug 2017 04:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503487616; cv=none; d=google.com; s=arc-20160816; b=EEkrtjk3KSVUlkySc/vGFz29XPDghDdDtjzwxm8sY+mBpVY4FC2FcwkU45HFCO2yLb sA65mmwJ9cPWSxSjJJ2UKs5MLbijbxUcZxEFM5WxemhgVfykkAY/r9OkxCkFkfgKoisv eCrxu0qTPbZQ9piNMLbUgDTVGF89qSTgRyBs6B79prUEwDQPXczEo6Ulqka5tyvUBKA6 SVm5xNihkIOkyjWMctImb2li1OSFNN4jnAyGeoslBpI6hW/zMcQLZnySxQe2FOhy7gEb ZkVGoAVjHhUGHJdQl+b+AFUOhezW882V6EBIdhlY9I8BsxwsmaXpKSFoOQjgJMOU7Vr2 NrJg== 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=/M/M8fBRRBVnxvLa4DhrJWEyRIALDxRQetRRx5tif44=; b=Clr8diBOT+jz/E+1Argg9NwowtYj+AXUu8TCmifumlRLhR943VN9g7Z+d9SgBVDyd9 7Tj9AWXdM2XChGgidsrW/ed/GuDmCWC4EBVEqKFa9JjbTqP9lFyxK+PESEjGGpMJSioy oHupjpexjX87mcFXgKz2BI9dsm8lU6op4ecUzEIpJNMWNJzC/vCaWywKzqflws3KOYeN QhOlZpblJBfylHNdYI7Ki9heDmS8CKyRKKaOtWyn8s+LnxcQ+vsC9As51Nt1UjBsk8hJ bnplN0GQIiTtgn2MoZrXzJkOPu4Ws1qLKQ20LsL5K+vJvoYNzjgttnUak78wvu4b5kkU 5Ocw== 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=vkWYZCAt; 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 t65si1208249wmt.76.2017.08.23.04.26.56; Wed, 23 Aug 2017 04:26:56 -0700 (PDT) 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=vkWYZCAt; 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 7A6B5267379; Wed, 23 Aug 2017 13:25:15 +0200 (CEST) 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 D4C01267360; Wed, 23 Aug 2017 13:25:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, RP_MATCHES_RCVD, SPF_PASS, T_DKIM_INVALID 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 31DE42672AA for ; Wed, 23 Aug 2017 13:24:52 +0200 (CEST) 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=KobpO15BqR4bgRYut+9ySxPSSGxwDv9rmfGnZJ7bwts=; b=vkWYZCAtc3ag DM9t6WukaynZjc+ICSEtS4qXas2pnok9tPg4kD71XHLNDQP8PJnPC/UCS5ZhdHBuiZA8rJMvKSyVD 7qb2yjSMwcwuZLLiTgBUxyrDBUQitlWSbYWBx/AQNdypygrdyB+5jA/Csl8d6BXnCArgEtCb84L+0 ZFwPA=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dkTmC-0005pz-8W; Wed, 23 Aug 2017 11:24:48 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1dkTmB-0007C2-RC; Wed, 23 Aug 2017 12:24:47 +0100 From: Mark Brown To: Kuninori Morimoto In-Reply-To: <87valg4367.wl%kuninori.morimoto.gx@renesas.com> Message-Id: Date: Wed, 23 Aug 2017 12:24:47 +0100 Cc: alsa-devel@alsa-project.org, Mark Brown , Hiroyuki Yokoyama , Simon Subject: [alsa-devel] Applied "ASoC: audio-graph-card: Add pm callbacks to platform driver" 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: audio-graph-card: Add pm callbacks to platform driver has been applied to the asoc tree at git://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 7b828a35ff834e45e5758a8a3f9d11db0526f9e1 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Tue, 22 Aug 2017 04:56:44 +0000 Subject: [PATCH] ASoC: audio-graph-card: Add pm callbacks to platform driver Set snd_soc_pm_ops for the pm ops to make sure that the ASoC level of PM operations are going to happen. This is needed to get suspend/resume working correctly when the audio is using audio-graph-card. Reported-by: Hiroyuki Yokoyama Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- sound/soc/generic/audio-graph-card.c | 1 + 1 file changed, 1 insertion(+) -- 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/generic/audio-graph-card.c b/sound/soc/generic/audio-graph-card.c index 105ec3a6e30d..63048915efbb 100644 --- a/sound/soc/generic/audio-graph-card.c +++ b/sound/soc/generic/audio-graph-card.c @@ -325,6 +325,7 @@ MODULE_DEVICE_TABLE(of, asoc_graph_of_match); static struct platform_driver asoc_graph_card = { .driver = { .name = "asoc-audio-graph-card", + .pm = &snd_soc_pm_ops, .of_match_table = asoc_graph_of_match, }, .probe = asoc_graph_card_probe,