From patchwork Wed Aug 23 11:24:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 110739 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3981457qge; Wed, 23 Aug 2017 04:26:21 -0700 (PDT) X-Received: by 10.28.7.79 with SMTP id 76mr1634121wmh.195.1503487581096; Wed, 23 Aug 2017 04:26:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503487581; cv=none; d=google.com; s=arc-20160816; b=KzRnrdRYGUH60aSdynKLfQz1tQ5w0hkZWInVt8zKdO75OB/GLumoAb9ZrK/nSZxwPW sYFj1iioX+Z4RSyMOvKCYQVzXiWkyfD6cJSsBuTFfEMu/xSL0+YxAwmG848Cdol/2BJh S7G+o5iTIzuJhUYj1Tm30GS2n2o/pUmrRB5/lJpSbGE3turjZaYCa8hAh5v5I2sGObuD X5VTQPQluOJiDJ/l4QUNz+MOPSg0tuHKq0Bml4mONQDKsZ//kBbbgZ4AVOUlQaIq/9I/ njjUPIysB0WmBnEU6n4Cj1b/XgtVfTXhHSu8/aVB25xp0whrUpJ0JhYXcZNuT3SiQjZz QydA== 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=TCYaH6PE7csdowUUSg2nrLDABvA/0ySP6dw1cmwa1KE=; b=cd1mV5z7MAMXK6zH4TZLUuC4d8t09AVE4+VjbQJDaO2xQWIMuvICtzQOAgAF/X+Emd iWbYEmiLHbjXJP+krWcE/v/NlIG6Lx4B6Ujl1P6JBy9SbBK0xfy5UUXs1QTki9WoYLTX UhqXEVtRCU4uJmquTBzvA3qHo+WBpJppQ2JUuC6/HbcQOP3cMCnyrnegUhksixvdHXYb SO40WzFS2iSTKjQ2KjoP8wdHD8y+n4WS5gcmc//NjwkrKjY3JLq7u+iacS/XnIHoSbjv cAcn4GRH8bQBxBrNAQ0gzLJFzS0iywBV9itAJFwwfJuFABDqBlCFuT1nNSsjC0inCUic ddYQ== 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=roM+xuF6; 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 v29si1107157wra.121.2017.08.23.04.26.20; Wed, 23 Aug 2017 04:26:21 -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=roM+xuF6; 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 D01E126733F; Wed, 23 Aug 2017 13:25:01 +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 A31FF26731B; Wed, 23 Aug 2017 13:24:58 +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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RP_MATCHES_RCVD, SPF_PASS 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 26142267261 for ; Wed, 23 Aug 2017 13:24:49 +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=MmryCt4gC/PDzosruP+zGWTdWiWgfPDEXvNnEBabe+M=; b=roM+xuF6a8/h +9WvSHDPf/IM8hhkQkJyjk9IVvJqGmwwf+L2Cyjh48vPxJP1oUFtp4+HLfO0G6iAvX5ECsBKl9nYj CIRTJXzv76cJJeOJ6RBLK1GhpONWbAiThjfJqMzbNE/kSO+/bjLBbzIFucg7LLBR7fROJhAaJNW6L fAwNw=; 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 1dkTm9-0005pm-8m; Wed, 23 Aug 2017 11:24:45 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1dkTm8-0007B9-Rg; Wed, 23 Aug 2017 12:24:44 +0100 From: Mark Brown To: Kuninori Morimoto In-Reply-To: <87tw10435f.wl%kuninori.morimoto.gx@renesas.com> Message-Id: Date: Wed, 23 Aug 2017 12:24:44 +0100 Cc: alsa-devel@alsa-project.org, Mark Brown , Hiroyuki Yokoyama , Simon Subject: [alsa-devel] Applied "ASoC: audio-graph-scu-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-scu-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 0995fb7c9802dd76422db384991f32296f8fbe1f Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Tue, 22 Aug 2017 04:57:12 +0000 Subject: [PATCH] ASoC: audio-graph-scu-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-scu-card. Reported-by: Hiroyuki Yokoyama Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- sound/soc/generic/audio-graph-scu-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-scu-card.c b/sound/soc/generic/audio-graph-scu-card.c index dcd2df37bc3b..da73e5d06688 100644 --- a/sound/soc/generic/audio-graph-scu-card.c +++ b/sound/soc/generic/audio-graph-scu-card.c @@ -398,6 +398,7 @@ MODULE_DEVICE_TABLE(of, asoc_graph_of_match); static struct platform_driver asoc_graph_card = { .driver = { .name = "asoc-audio-graph-scu-card", + .pm = &snd_soc_pm_ops, .of_match_table = asoc_graph_of_match, }, .probe = asoc_graph_card_probe,