From patchwork Thu Oct 29 07:42:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865431 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83EC0C2D0A3 for ; Thu, 29 Oct 2020 07:51:23 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 67C352076B for ; Thu, 29 Oct 2020 07:51:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="M5mw9D8B"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="R6KbsFBJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 67C352076B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8D7CA166E; Thu, 29 Oct 2020 08:50:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8D7CA166E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603957880; bh=OOF8J0E4gBspnQG4bbiSsbBzu0yxMlfRhFWWq1cxDN0=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=M5mw9D8BOFR7RGcp0mJuya9tHi649xDttAWU5X5U/XG8jx/qNS2vw5rBK5U8S7LBt 6qT1uvAd2DQsa+ria5BQQ20gq+5sXXdaH+ah4CEJRO+dUFQLYi3/QmYyzql5dwc34R 5QAtryNSczK4T2pSq5e44Lhb3JpgfeUH72x1+XBY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D38DFF80257; Thu, 29 Oct 2020 08:49:57 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 46B47F8020D; Thu, 29 Oct 2020 08:43:29 +0100 (CET) Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D4008F800FF for ; Thu, 29 Oct 2020 08:43:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D4008F800FF Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="R6KbsFBJ" Received: by mail-pg1-x541.google.com with SMTP id f38so1663022pgm.2 for ; Thu, 29 Oct 2020 00:43:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ByQRRqSOS0s9pNTpOtt//gM7iDqhPG0HzrMizgfaGV0=; b=R6KbsFBJ7AGf6UFZEd4Vf7yH5UZW8brSqoW1Xe9CLwUdFHKUtWJjt6NIgy3eCUmeOG QtRfCio4ewGz+maSTsyOVbge3tdNBLrvpAggSW3CfBow/g0deLUu2vM89stbtfPSHIq9 mXfUNwhYDV9lRsqNqW/MfQlVff57B/xlD456fkNR8qUz8K58XsUMehnKLBtpvTwax9xP q359Uacwp5fwdN0AUQCuypMoNlt5yshUotW3KYlqjZbTuWCV6n8uwQeRt1fPs1W5kvWS XeKh+h5vPaxqEBiP3FPm8USLMG6P4tDiykdk1HUiLuMWm6d8BV5kiVP9AwOA7A/WlWLx 8ZXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ByQRRqSOS0s9pNTpOtt//gM7iDqhPG0HzrMizgfaGV0=; b=U+BHD6bDWJLWszfdZQ5rQ8FL4BdWtxw6TXnoxy+8PxaFEUbIcNLodXwT48Nv7YHVWB MIMGPGa8hpunpOOG0k4f1XoRH+Ame1gxIbvFamxT8Bp6pu+3uBRRThb4MCPNvlB9qrO9 R11LRz5Qtaw7Vdz3cnFD9wjpDAOgIlaqwGz+Pb2MEaRuUNVRQo5tuWAREtsiKxlL5wOE Sn7mNIL6fL9s+h4MgVpRnHm6OCBoyfGQtluRBGeiD3de23/LbcrCNN0nc9WMHRlnXvHb ExrTlSu2Dfn7ETAidEEw1ePKoaBhe68XvLhHpQ8yig6UoHggXZxoLFJh3NXfwdy4NqVH ijVA== X-Gm-Message-State: AOAM5331KH2/nNzKkMdnWGA3OIprbR7iiV0lDKzQhnBxkjHYNlFr5bRa kWdU4o+rxhH7/MVqvUp6w+k= X-Google-Smtp-Source: ABdhPJzqW9+vkDhQYC2zinHRRJ2vcxLo2Fsw8j+CEUVBMEU9yIiZZoEMGG/itZzsejxJ4or4GBJz0Q== X-Received: by 2002:a63:7e4f:: with SMTP id o15mr2971078pgn.428.1603957401923; Thu, 29 Oct 2020 00:43:21 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id g7sm1707066pjl.11.2020.10.29.00.43.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:43:21 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 01/25] ALSA: core: pcm: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:37 +0800 Message-Id: <20201029074301.226644-1-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:SOUND" , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/core/pcm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/core/pcm.c b/sound/core/pcm.c index be5714f1bb58..5a281ac92958 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c @@ -599,7 +599,6 @@ static const struct attribute_group *pcm_dev_attr_groups[]; * PM callbacks: we need to deal only with suspend here, as the resume is * triggered either from user-space or the driver's resume callback */ -#ifdef CONFIG_PM_SLEEP static int do_pcm_suspend(struct device *dev) { struct snd_pcm_str *pstr = container_of(dev, struct snd_pcm_str, dev); @@ -608,7 +607,6 @@ static int do_pcm_suspend(struct device *dev) snd_pcm_suspend_all(pstr->pcm); return 0; } -#endif static const struct dev_pm_ops pcm_dev_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(do_pcm_suspend, NULL) From patchwork Thu Oct 29 07:42:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865443 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43256C2D0A3 for ; Thu, 29 Oct 2020 07:51:35 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1FF3520EDD for ; Thu, 29 Oct 2020 07:51:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="QcZf/ncT"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qelMKJ2W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FF3520EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 597931676; Thu, 29 Oct 2020 08:50:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 597931676 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603957892; bh=mwfeELsdpEZWHfgrlCey+Pdv9B5CeCHD1iXouVtw5WA=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=QcZf/ncTQdSytW5BhdLX86XIKzerG1UNK00YS4DF2eQurdzGNttLaSgaiBVorlTyO YK57ocGDLYvnlSHzdPogP373nGLIYAN88kClGzJ06JYFSnNI71TtusaZSUae42ePHn VXrlmb7jXPXvjHeX9daNmGxuykg6+FzwVDpB/s4g= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 31A7BF804BB; Thu, 29 Oct 2020 08:49:59 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E634FF8020D; Thu, 29 Oct 2020 08:43:37 +0100 (CET) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 37194F80095 for ; Thu, 29 Oct 2020 08:43:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 37194F80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qelMKJ2W" Received: by mail-pf1-x442.google.com with SMTP id w65so1658303pfd.3 for ; Thu, 29 Oct 2020 00:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tubacnQpwB3/W2PhhRu24urvA3DZqPuQW1vT0viMV9c=; b=qelMKJ2WSeEmQYBOX1ZKDe81Ga6Ri3W0Vyv+XB3IPPvJcxS32qo9MAPakdGNGTBBbq zrqOzulmZraX3Q7qsRKvDDYFQk7udvuSECmgQJGPxjaJ6Dr+7I+ILcb+r8U1KjI8UTmf qxc5S4bAEM1nkq0i7esFIzTiCzQOfn0OVOaxCogYvzwU4DGlF/Z9ok/mfJXLwovnkcZ0 3C4yEoqwfNwBYF6tlPYKL63YLgSKl5BnMVy/m82jOBhOcCQ1eL7fINId/h/LLGtWaYUW LErPqdvsFq6LiV/7vIWgSrlgaxcgFLkvhhD1mZlYPmchGJHRK7ThN521grVT1fGzcAz4 kvtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tubacnQpwB3/W2PhhRu24urvA3DZqPuQW1vT0viMV9c=; b=nONWm6AM1AeWQe8hx26RhhPQVcTRN1Iu/8N2pTw+vpyTuP9/Li5WHpkI6SxH3OhBOs eMXBiVrCgj4a/JfFKpSFkKaXGxxwLVNu+4NDF32NEjliEwhGH5iZ8nl9/o+UmguM7As9 PU1tjBDO7Htxg+Xk6p+BBJaMLNcs18PEiJPLoOiPH7xlNGBJzCIfQNg366PpAwpUF++a WZnVUk1Slbz808smfnmRjZi/Sm1byL38ozEBriwGEBpObfiOxJ4l688C8rxVWPZ0rDrp AzujST/kX7uBXEZEGd88e6bdYxIfg0NoIB8ANPjbEREBQA4iEoRfqVljkyEaYx9nezPp s5yA== X-Gm-Message-State: AOAM531sUGoKO7Cb7am7cwcBQpTrYbBPENqKbZgPh3xO7zLivz8eVBTr RfvIels00uH/w+82e7m4c94= X-Google-Smtp-Source: ABdhPJwfCpKPCpSPUWy+Lzj+iwnX+ql0BPKlVGcGxkFcgc7JIGCDlh6SjXrSCFSf54pnToB9lwi7Hg== X-Received: by 2002:a63:7e4f:: with SMTP id o15mr2971579pgn.428.1603957412989; Thu, 29 Oct 2020 00:43:32 -0700 (PDT) Received: from localhost ([160.16.113.140]) by smtp.gmail.com with ESMTPSA id v4sm951756pfm.57.2020.10.29.00.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:43:32 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 02/25] ASoC: fsl: fsl_ssi: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:38 +0800 Message-Id: <20201029074301.226644-2-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:FREESCALE SOC SOUND DRIVERS" , Timur Tabi , Xiubo Li , Fabio Estevam , "open list:FREESCALE SOC SOUND DRIVERS" , Liam Girdwood , open list , Nicolin Chen , Mark Brown , Shengjiu Wang X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/fsl/fsl_ssi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 404be27c15fe..065500a4cbc1 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1669,7 +1669,6 @@ static int fsl_ssi_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int fsl_ssi_suspend(struct device *dev) { struct fsl_ssi *ssi = dev_get_drvdata(dev); @@ -1699,7 +1698,6 @@ static int fsl_ssi_resume(struct device *dev) return regcache_sync(regs); } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops fsl_ssi_pm = { SET_SYSTEM_SLEEP_PM_OPS(fsl_ssi_suspend, fsl_ssi_resume) From patchwork Thu Oct 29 07:42:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865439 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89F96C2D0A3 for ; Thu, 29 Oct 2020 07:51:45 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 602C22076B for ; Thu, 29 Oct 2020 07:51:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="XScOvPG2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ImwowdAX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 602C22076B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C819B1664; Thu, 29 Oct 2020 08:50:52 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C819B1664 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603957902; bh=Sl4LEjyqv2ejlShcI1UnhB70Y5TNAbUomAeLOuIR48s=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=XScOvPG2EFFoUAjvOfDA4SYwZXhI89QAp1q2BJlIxIk5ZO5KmTc39/+bwMPRKkYpr sci73nlnyCa0nMaVH8PJZtStwUcG8gZh9hCbD/zJCJ/xkgsc4FLd0exIKiMMg2EHol iEhWTxWfYg1kOt1HWTz7zoauVRqULT2gN/vJPuW8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 17B9FF804BD; Thu, 29 Oct 2020 08:50:00 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2E227F8020D; Thu, 29 Oct 2020 08:43:42 +0100 (CET) Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 361FCF80217 for ; Thu, 29 Oct 2020 08:43:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 361FCF80217 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ImwowdAX" Received: by mail-pg1-x541.google.com with SMTP id s22so1639548pga.9 for ; Thu, 29 Oct 2020 00:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8u+cDEJ8AUe2fZreqSM2kctIiSNg1XEO6m83AlYJL7M=; b=ImwowdAXgeuskRRBCZOSYoc+noyNDsE7KVpUYFOdB/iwsNWyxeSa3KG4jvkGkcrbqS W+5ku5C1hxDug2UmHCXShNUvqJ/yinRCbh5r65F52i/HjK5RvAreAYThIwDpqH+neJu6 qpLFLZfK3jNXX1A1NMJVy/f0XZcdks4BvDt7R9vRukBulBng8L6ExJT3saGcHY6Uh3oI HsSCwfEifi9SFo2N69TZoYyk31UBMqzsA9PiDn7sKI9BluMdq8TdPurU6JyCVqJkM88+ g8HT//uvrMOYWqSv9fuIwhlvIJnwGhv3zTAjrOu7hCBPbCDtn4SK9gK0vU41eeL5OsFN m8mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8u+cDEJ8AUe2fZreqSM2kctIiSNg1XEO6m83AlYJL7M=; b=Ncr92cz/WfcqKzt2EzF6gBazcAjE75X6bhWi3lEmRO0WbLt9jNlNpSNn6zh9iFyaPO xu53S+sG9P2e7nC9bayVQVJrE6GDEU950hMp2XlW6YvAwpjXskwPDLsc0oxixr6ZgxZL 6fEUl4FUzhFpl4LFB3RRcl6cf/tjULdWnk6Dq2/wSgHHtV1Zi1Yd6CkcNujhAfm0jpsz 2aCzlHHmniEJtLWWdxpa5lSZpko+6kwqxfTguI+v10BPF9DqYiAb8hrYtGo5TNzwrQqS K8mEWcbd1A8pw5/gqGDpfI2zYjnnPqyhK8JOzQPaqF1B5eQ9WAd8bMpaDjDE2Z5qr6wd ETWg== X-Gm-Message-State: AOAM532tZ7R50dCEWJss/Cxz0pNP0zYCkV8Il6gOzxHGmwySz+pYMrr3 iYjBffk/8gXn3miIfluteC0= X-Google-Smtp-Source: ABdhPJw26LSjGJv0gkcHfnY3aVLwVaP63zCatI+cHlBpP4L5G2DQaRcfDxL/I3kfzEgHZfcdG92f0A== X-Received: by 2002:a62:1c8f:0:b029:156:6ebd:3361 with SMTP id c137-20020a621c8f0000b02901566ebd3361mr3272158pfc.42.1603957417705; Thu, 29 Oct 2020 00:43:37 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id b142sm1872361pfb.186.2020.10.29.00.43.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:43:37 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 03/25] ASoC: fsl: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:39 +0800 Message-Id: <20201029074301.226644-3-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:FREESCALE SOC SOUND DRIVERS" , Timur Tabi , Xiubo Li , Fabio Estevam , Sascha Hauer , "open list:FREESCALE SOC SOUND DRIVERS" , Liam Girdwood , open list , Nicolin Chen , Mark Brown , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , Shengjiu Wang , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/fsl/imx-audmux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index 25c18b9e348f..6d77188a4eab 100644 --- a/sound/soc/fsl/imx-audmux.c +++ b/sound/soc/fsl/imx-audmux.c @@ -349,7 +349,6 @@ static int imx_audmux_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int imx_audmux_suspend(struct device *dev) { int i; @@ -377,7 +376,6 @@ static int imx_audmux_resume(struct device *dev) return 0; } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops imx_audmux_pm = { SET_SYSTEM_SLEEP_PM_OPS(imx_audmux_suspend, imx_audmux_resume) From patchwork Thu Oct 29 07:42:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865441 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38E30C2D0A3 for ; Thu, 29 Oct 2020 07:52:24 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5B9FF2076B for ; Thu, 29 Oct 2020 07:52:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="NtDq9txK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TW8C3K8Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B9FF2076B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B105B166C; Thu, 29 Oct 2020 08:51:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B105B166C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603957941; bh=/yptHEfgAHDBUpNeJkQCtilbV87nzjR1vMI4H3rK6/Y=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=NtDq9txKVoXWun5g3n3mg5glb6TnUvgzgUgPaPoMt1WRH9+nVPUgv2ZaL0JuTJ1np V319D42ky4+vJRZNZDfTtEM1JdvSV8QRUnGjK3evKImAk7PkU2rf30UjF6yUY0A/Rx 9/7S53/F/hGelJuyw61lD6tP4NURLjg+VusT5Yzk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 66960F804CB; Thu, 29 Oct 2020 08:50:01 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 074ABF800FF; Thu, 29 Oct 2020 08:43:49 +0100 (CET) Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9D932F80095 for ; Thu, 29 Oct 2020 08:43:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9D932F80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TW8C3K8Z" Received: by mail-pf1-x443.google.com with SMTP id j18so1665035pfa.0 for ; Thu, 29 Oct 2020 00:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bmwHyHUIe/uWSPHK3YvMcr+QNlICBVXmu7Dmq71Pi0M=; b=TW8C3K8ZXzrnZ/kDBmjrdImT1Eh0azgxxqO8H4AGCR1kRROB0CStWcbr6WtfqSABhy kXCczW2+hlMauiG/YErbKtsw2wdcj5jzplWFyl7Xpe90BQ7TPzpYJJm11fAEGCBVgQvh RYegV/nuBaTdc55uXOQJETTYXuWFacSw6LZhiek/ePJ881lATgHSeSob9TowpLuX/OPq U7gVEy/pznph5meEOt8okdP06Oe6K03C1LI8VkSWDJ8kP2hJ9a4AH/M9sSmNV2XvFMga 2N2PW80BUq2R3aXQi2z6ZKzxxUTMzexnuru3+jnEVGgT+x4ZzwclB5Vv5765mfWOkhXp 0X5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bmwHyHUIe/uWSPHK3YvMcr+QNlICBVXmu7Dmq71Pi0M=; b=tHQfD87Ad/1jdnMxL5eyy3GPqIE0gxduulJ3oWViPqnfPQG5hDoY6PYwtLALvOzVdM +x4k9bQrjVgMticLJDDRbh+qE/DMv6yB61pr4vcot/6Dc5ww+WcGx9NBzQgKJ7xIXVTL 8qvrXBpc1xj6UfYGDQXbaWmDYd83GUiD6iXH9wzHUyKbNhcFdCs1J78ntgFTmwKZ87E/ 9cnNiDH5ncak224TQcX/JP8R8pqkmiURRv3IVM94fRir12XfB7QvOqHhrmctqtrAp9ro gHiPRaBTezQxitll8WjSexrYvrpI5hmcsDBeIi0N2m8EYbUuFTG03Y5FcQW5cpkpfTmw Id/w== X-Gm-Message-State: AOAM531bpB/F40YX253JKFGeijlhE6lX7Lxji61UTVpIvNRQUItBsnN3 FJPfhfU98Z2mkavJYVlDR5o= X-Google-Smtp-Source: ABdhPJy0skDQDIihaScK9yxAZVkcjC9QRMMPRrKoqNU1oPRXmYHp15+NFjKFrr9TjeWjwlnY8B2wVQ== X-Received: by 2002:a62:8f4d:0:b029:163:d24d:e0ae with SMTP id n74-20020a628f4d0000b0290163d24de0aemr2904319pfd.49.1603957423589; Thu, 29 Oct 2020 00:43:43 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id z10sm1837779pff.218.2020.10.29.00.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:43:43 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 04/25] ASoC: rockchip: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:40 +0800 Message-Id: <20201029074301.226644-4-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Heiko Stuebner , Liam Girdwood , open list , "open list:ARM/Rockchip SoC support" , Mark Brown , "moderated list:ARM/Rockchip SoC support" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/rockchip/rockchip_pdm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c index 5adb293d0435..f3c19310aeeb 100644 --- a/sound/soc/rockchip/rockchip_pdm.c +++ b/sound/soc/rockchip/rockchip_pdm.c @@ -574,7 +574,6 @@ static int rockchip_pdm_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int rockchip_pdm_suspend(struct device *dev) { struct rk_pdm_dev *pdm = dev_get_drvdata(dev); @@ -601,7 +600,6 @@ static int rockchip_pdm_resume(struct device *dev) return ret; } -#endif static const struct dev_pm_ops rockchip_pdm_pm_ops = { SET_RUNTIME_PM_OPS(rockchip_pdm_runtime_suspend, From patchwork Thu Oct 29 07:42:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865451 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5CFEC2D0A3 for ; Thu, 29 Oct 2020 07:52:31 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 97E082072C for ; Thu, 29 Oct 2020 07:52:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="f1nF1T+4"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MetyxOei" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97E082072C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 05B731680; Thu, 29 Oct 2020 08:51:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 05B731680 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603957949; bh=WUZGwbarNTHGvi7gBUTWsHRAY5KD5HAbD2ljqy5o4mQ=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=f1nF1T+4flxdTqTMhLjAvcFu6qK7wRhhdEKerymznNJhz72K7xjXX2SbTHyWyVgOF IPDS0hWTmUBPVzpPk2UnPJ2xb/RXt8XI/ZkdFz/LUJ3bqX/YxWZo+6bMKu0vqht5cY 7o/+Fr1xXp7nOiLxIrlYZXOb+UBQbF9NblRSRhvk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B31E3F804D6; Thu, 29 Oct 2020 08:50:03 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8C73DF8020D; Thu, 29 Oct 2020 08:43:54 +0100 (CET) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9B0AEF80095 for ; Thu, 29 Oct 2020 08:43:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9B0AEF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MetyxOei" Received: by mail-pf1-x442.google.com with SMTP id j18so1665258pfa.0 for ; Thu, 29 Oct 2020 00:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2f76QX6KjllBHRbyn8bbNM8MHRGSvgg1fTn2FXp9kIk=; b=MetyxOeiFIfccE3es6OdzGpM16CvXTlwFUbayjCo80V8vzGg71aanERZA/rSMHq57V yDaqdUwD8D3Q1atgb5CdG3c/XcBhaR3pDGlRd+WP5J942NshDkLWwPYlPY6Y8Sbffc1A ftOwJdlht0Fak+gTaqd+TT0+s5qzDf3KzUuyvWM+EHSOjr2/Ymvn+dAgVWWWK2RLCCMh fvlQAVgXt7CekrChkpBJDv4panvHeF9QwK070Erpwrx3KMMRSEaTiLMqn76dEt2BBCWX 6tl9TWzUT7aHkNeTYFDKvC1A1Vvbj4oymVa8c2iEa0Kc83CBRQtUv1LmRKGV24uUfOCT s7cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2f76QX6KjllBHRbyn8bbNM8MHRGSvgg1fTn2FXp9kIk=; b=cQ6yzOWfjq7q7E/OYcx7rtEVZm7uRvmvFiCfPCzMeDTYd4gbjhGerpMqqRy5aUQYW+ 974H65LYLJawoHDjeCAH9Gskg+PIEqeFSh1RBEnDjyiwcKidXsi33A+5opQz7ZdzuivS hJy7SZXDjDST2qL+d4lmk0KtsjGIxtwiWdAkgYhJrAO8wWZPAugXti7YRmXewgDbj9zC XBnBIajQUlSrjiZagqLOS/rlYtDtzPbmQ6DHV3YtRaQc8j2ufTy/SdzPtS6j5cscYLWu hM1dihY00dwVsepsyP935leCNZhU12/2ne2khuAY6rRFItSzkN561j7c0QNsVr3r5PJD 8Zlg== X-Gm-Message-State: AOAM530m0LiwTFQZ3plZ0M+fOEPqYRUR3isL1ggCIWmKl+xEiPgGFCr1 xXtozNjO4li8ZzC44QAYG3E= X-Google-Smtp-Source: ABdhPJyWkELF8JgWYyu3kFPwXgZM+B8iEgdd3IgoUA4QLO4kayW+2sAMfjxjJYUYVDIWfpSWvCK8Gg== X-Received: by 2002:a63:7d49:: with SMTP id m9mr3024402pgn.60.1603957429902; Thu, 29 Oct 2020 00:43:49 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id t9sm1569687pgp.90.2020.10.29.00.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:43:49 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 05/25] ASoC: img: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:41 +0800 Message-Id: <20201029074301.226644-5-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/img/img-i2s-in.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/img/img-i2s-in.c b/sound/soc/img/img-i2s-in.c index 0843235d73c9..8364eb9c44bc 100644 --- a/sound/soc/img/img-i2s-in.c +++ b/sound/soc/img/img-i2s-in.c @@ -545,7 +545,6 @@ static int img_i2s_in_dev_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int img_i2s_in_suspend(struct device *dev) { struct img_i2s_in *i2s = dev_get_drvdata(dev); @@ -592,7 +591,6 @@ static int img_i2s_in_resume(struct device *dev) return 0; } -#endif static const struct of_device_id img_i2s_in_of_match[] = { { .compatible = "img,i2s-in" }, From patchwork Thu Oct 29 07:42:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865455 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27717C55178 for ; Thu, 29 Oct 2020 07:53:08 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 53DA420EDD for ; Thu, 29 Oct 2020 07:53:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="ENrNfBZC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PGf6dq+p" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 53DA420EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9DDC5167A; Thu, 29 Oct 2020 08:52:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9DDC5167A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603957985; bh=OW+p0ifLybazhn9elelkE3KIk6KN/nRrVpNcfJ6RaMM=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ENrNfBZCSCUJ0RuLEQAZg4JYP6QkpJS0EcGOgvQrgTBV744onXcJ1L/nOMnXYQBBc OMo60tZjD29J5zi8HsNIPg+wV2A6TnHekodFB0XP3V4fdO6CP7oQYdrUZMTRbe8Aa+ nhV/ws+Ds1WiMIf2ftDLHcMB0YejjClVti6scx2Q= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 11815F804DF; Thu, 29 Oct 2020 08:50:05 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 35EFAF8020D; Thu, 29 Oct 2020 08:44:01 +0100 (CET) Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id EE34CF801D8 for ; Thu, 29 Oct 2020 08:43:57 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EE34CF801D8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PGf6dq+p" Received: by mail-pf1-x441.google.com with SMTP id o129so1661457pfb.1 for ; Thu, 29 Oct 2020 00:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jaZN7uq6O01jrWfQxHpgtRmb0Gb7gUhtZJtDfvvhJ7c=; b=PGf6dq+p2oOvbusQem443qtzdvhBWli1vPwCNwRQauHczKlGVDO8iheu7TDaCQOMUT ZSD28bFk+QbEOsrpRnYyrCcQ3xFlildoAUpDn0NfLGsQ+hYBm5hqTo1axD3uZFr9ds8Y 55S+ImBATyrOHYV3tVVpr57zs7U0d1xDpEO+KqJjC5OgWoC1tAiFkUc/2M98wf5pX6Ol MJY3swSjgBnJ9/kr7p3mM4LAKu7IBAzIxnODqJxoArtQgnQcAJ+xff36LWOtdRYHw9ag SDWCvPtBP6EsmHRTlt3lyFbntprdnyTgseIv2VLT3OEe27gN+eQaSBtc2KAQdRG8VCuz 524A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jaZN7uq6O01jrWfQxHpgtRmb0Gb7gUhtZJtDfvvhJ7c=; b=axgR4l1zOvi6uCXy+hWVaQr8N9TZ37EVS7lE2FBplvslao6MZFIURJIxrUW/RjlQ0n zp97nBRWOnUN/+9SHXbqIjbG5MAc1YUdN0CoCGEOXjMh+zM8wHFeEAQ5HAKrsVh45j0V nAJTeNLQc8QuzEVWBgsKhZM9ydNE6tZkYBnTNThnbBgBGf0F9SSieVKTTO5hfFbkqX+m j3kqUs2S9KqhnaeCYFymqziL3THLXs+WPidWlsbKXDvznMLPyOMPFHNjlFLwobQ2S8zP 1dVysu8snjV7CNkjZZGHnZSUfOYDxEqnQ6EjX7Fc81XjVHVQh+x+9T9sK5uTsZZdCvpe 5Zpg== X-Gm-Message-State: AOAM532oOkvwqHfNBo9r+1uqB+1u6lDbVdyChxsVh7zEUwC/hhjYgKFB OR8Bx2hhWyEdqX87GOt4nZc= X-Google-Smtp-Source: ABdhPJxZrPCuwMP0s8yJdpRCq4IbmG/ZNBJz/5uBLQ30gGijnR/FLOYvomcsc4KxDgTZMtldI8oUtg== X-Received: by 2002:a17:90b:17c3:: with SMTP id me3mr2702800pjb.56.1603957435363; Thu, 29 Oct 2020 00:43:55 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id a4sm1865321pfa.65.2020.10.29.00.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:43:55 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 06/25] ASoC: img-spdif-in: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:42 +0800 Message-Id: <20201029074301.226644-6-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/img/img-spdif-in.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/img/img-spdif-in.c b/sound/soc/img/img-spdif-in.c index 46ff8a3621d5..bb73b7fc35da 100644 --- a/sound/soc/img/img-spdif-in.c +++ b/sound/soc/img/img-spdif-in.c @@ -823,7 +823,6 @@ static int img_spdif_in_dev_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int img_spdif_in_suspend(struct device *dev) { struct img_spdif_in *spdif = dev_get_drvdata(dev); @@ -863,7 +862,6 @@ static int img_spdif_in_resume(struct device *dev) return 0; } -#endif static const struct of_device_id img_spdif_in_of_match[] = { { .compatible = "img,spdif-in" }, From patchwork Thu Oct 29 07:42:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865453 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD84DC2D0A3 for ; Thu, 29 Oct 2020 07:53:21 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A067C20782 for ; Thu, 29 Oct 2020 07:53:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="TmiW15P/"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="L+BUDkqZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A067C20782 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 05825167F; Thu, 29 Oct 2020 08:52:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 05825167F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603957999; bh=eDPlsL3p86uluY2iuNdkl4L3CS5krVyoD1cKMNlH8w4=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TmiW15P/m9rIQGLNOf1ZSkHbH/UE2oqNRIf69dJsI5oeY9PqBJXSqvyP/Uyiead9u V/V/3uYFSwlJSoVWA59PU5vxx1CcnxhiAkpVQze6zHrcabqRWlTblg56Tb2rwIdoW5 f8rowIiK8g22bAcMIMN55yB/Rs7RF8zf2cTs3wNc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1F564F804E5; Thu, 29 Oct 2020 08:50:06 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2E215F80217; Thu, 29 Oct 2020 08:44:07 +0100 (CET) Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 37E59F80095 for ; Thu, 29 Oct 2020 08:44:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 37E59F80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="L+BUDkqZ" Received: by mail-pl1-x642.google.com with SMTP id j5so900433plk.7 for ; Thu, 29 Oct 2020 00:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AHzIBGN0BQuBgCIUGfl4ZLzJ/JT7l0StfYhAvIeJ/MM=; b=L+BUDkqZgHM6yV7+oOTVLr5ity64t3juhbDn2kVjjj3viJ8SZBngjBLD1QrHAwPGxE C5we+AdSZ5CVr/HefW9VLX/3MSn5UFGoDDOeIWvhEn+AF2ANz9V4uEEONpGuOAgTU8J8 P5LL4ZpXHrfUaHycVOQEDHuAoRhJT8yJSXizlOvVpqSKQojJWXts+GIdudFA98eDm7gC d1L0B1BK4xJ2dgtgDJ1L4cF4f44eTfPcjVRy4KuTRAi8nfYlkTW1FtDenFFIYS33HMxV jqMfWv2QZHhCy2WOOUb9Zv+ydkly5FX2P+L7y5VRw7YUNOPrGcghXKjr6x6dHy/ALtEf jrkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AHzIBGN0BQuBgCIUGfl4ZLzJ/JT7l0StfYhAvIeJ/MM=; b=gryZ/8BVIpwYuLpaD/4codAXN5XRg58MGVJcTcP/6oGc7GY9b+TY0E2aYJxEyxmiSR f1iIc6+4xXLKajx8kejxH8RnFAeyLn/i2IyL1F0vm4aGOaKSg2HKzrvj0qhJ385hyhZJ oTMIqxnz2wQRfkKo5WdI7khaRKNrxfG3MWe24TgIZegRYpdMjUIbcCaZorRV7ZoNMlQA 8BMMoVYPqmjL3p3VzA/w+iT9ajM6+lq1g6rjLj+CAoHYrbyI6u/z+97CYWRo625jSRDF oWNtGlP5TDe5JbFkIdgJBhp+YJMMYVyHf4gcaaXrGrFuw3aWRXc4P23XNPagOT3MlJO4 SSLQ== X-Gm-Message-State: AOAM532SdCPlxc5E17iV48Kbqa7RGuLDZIs20qOQNIqS/IQycK5vdnO9 G/9R1BiqcLLqgXeLuyGa97U= X-Google-Smtp-Source: ABdhPJx7ijebngEZU7m/kqD/GAuqvQt2AdGg9Ne5c4u/3+DKAtE02bgPvipElzUVy1Bnz6dMPAIC7w== X-Received: by 2002:a17:902:ed54:b029:d3:d0bc:e41d with SMTP id y20-20020a170902ed54b02900d3d0bce41dmr2975304plb.13.1603957441202; Thu, 29 Oct 2020 00:44:01 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id gb13sm1691152pjb.55.2020.10.29.00.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:00 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 07/25] ASoC: img-spdif-out: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:43 +0800 Message-Id: <20201029074301.226644-7-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/img/img-spdif-out.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/img/img-spdif-out.c b/sound/soc/img/img-spdif-out.c index b1d8e4535726..1549a8db6657 100644 --- a/sound/soc/img/img-spdif-out.c +++ b/sound/soc/img/img-spdif-out.c @@ -419,7 +419,6 @@ static int img_spdif_out_dev_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int img_spdif_out_suspend(struct device *dev) { struct img_spdif_out *spdif = dev_get_drvdata(dev); @@ -458,7 +457,6 @@ static int img_spdif_out_resume(struct device *dev) return 0; } -#endif static const struct of_device_id img_spdif_out_of_match[] = { { .compatible = "img,spdif-out" }, {} From patchwork Thu Oct 29 07:42:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865463 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33359C2D0A3 for ; Thu, 29 Oct 2020 07:53:56 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 566CE20782 for ; Thu, 29 Oct 2020 07:53:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="fWvVcYyp"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="f6yk89vg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 566CE20782 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B3952166D; Thu, 29 Oct 2020 08:53:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B3952166D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958033; bh=ySHldnunD7enUs04BlkeCA5RbYH6rX3c0OJ03BNbGJ4=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=fWvVcYypTr8W0QsuraMj4oYB5n8ejKMrdgMl2MgI7fw7tVeD+4CUNPbEZDZ4DtZp+ 4Wu7UpVQHSzepuhZ4QRlDEKsHaqc0aHl9+yyMYU07P2C+5mT5/bL1Pp5mcYEAwhwKU 1MGAseVK6yKIXvvN0bAsTwSP95z/WztO7v4Bgw14= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B0943F804EC; Thu, 29 Oct 2020 08:50:07 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 01AC8F800FF; Thu, 29 Oct 2020 08:44:10 +0100 (CET) Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2262FF801D8 for ; Thu, 29 Oct 2020 08:44:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2262FF801D8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="f6yk89vg" Received: by mail-pl1-x644.google.com with SMTP id p17so880945pli.13 for ; Thu, 29 Oct 2020 00:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TpBMm8g68pTx9DqIx3h+hx1vGqrNoMOX/Q5L49wwIlo=; b=f6yk89vg+qNSCOZtGKP6o4XSw44ktFR5O/1XFznnntptHHnL0+qBgyXM4wq7ghfeyo I3JupIjev6TG41pCUKUEOvPuEywsgWMReZZ7NlzrqcAPpjMh6Pxlj/WGA4SkEjbP0qwC vjv495mn1+cr0bglnS2V4hf4SCXBwYTrSJQZst+MQDNfWnb4sZB40YXw6u66l8FXjNY+ w0E4lPqr7m/ENjVS/PeGpCEc85t1xSQ1/hznWT9to1SyQBNi3sj5JOVagFg2IhtRunmf nJUSVpTKk6c842awUDRUOdSHzH+SgP2oOEz8o5iIXjf5qrm+/+4hD5RgzvbR8AotFXS6 ec6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TpBMm8g68pTx9DqIx3h+hx1vGqrNoMOX/Q5L49wwIlo=; b=JTExPUta0Gg+eQBRue6uxTVoQCybFPzDdFEBUgId5v4kEvICyi4xtDqJ1w1nkJyQxH KC8G0S6W5kslpXEDnL0jZGPnsUJrlCkMn5rLmRwC4UHPjbhB5ZuFTYtci9raTeAbemG6 veArjIIGia+Ez58qm4xEl5q7ziETcbbDTxMovkHMrjYJBlnbf6gT6QhufujWFvoKKcrj 7SqFthGwzdyQvLaaQLsGfxaAp5BQ0PXnn1QRTstd1x6H7Z0qY5Ph2+gLFqGSRj9eD1RC An0Y+l3JxxKej5ek9hJUCnGjl3B1i0DP7M22qk+sAJ73NYysVMI/SAMT9Jr7vmqGz09Q KVrA== X-Gm-Message-State: AOAM533+Y/TuwuhOoGH7C2FUvMSDlIpsUZhote5MZEQzhSxgiTvpyIx1 Oybv7XgHH+U317kDtyCpDB/H3GIEwGRkzRlV X-Google-Smtp-Source: ABdhPJyJYs8Hm3RbNRVfredcnwtafkPurb0Ozj/n6XbH3XxzaDaN5PEg476VGV/RBDSEyV7o9cImKg== X-Received: by 2002:a17:902:8647:b029:d3:d448:98a8 with SMTP id y7-20020a1709028647b02900d3d44898a8mr2865766plt.29.1603957445560; Thu, 29 Oct 2020 00:44:05 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id n6sm1562177pjj.34.2020.10.29.00.44.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:05 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 08/25] ASoC: img-i2s-out: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:44 +0800 Message-Id: <20201029074301.226644-8-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/img/img-i2s-out.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/img/img-i2s-out.c b/sound/soc/img/img-i2s-out.c index b56a18e7f3ac..7693b7fdf299 100644 --- a/sound/soc/img/img-i2s-out.c +++ b/sound/soc/img/img-i2s-out.c @@ -551,7 +551,6 @@ static int img_i2s_out_dev_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int img_i2s_out_suspend(struct device *dev) { struct img_i2s_out *i2s = dev_get_drvdata(dev); @@ -598,7 +597,6 @@ static int img_i2s_out_resume(struct device *dev) return 0; } -#endif static const struct of_device_id img_i2s_out_of_match[] = { { .compatible = "img,i2s-out" }, From patchwork Thu Oct 29 07:42:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865465 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39607C2D0A3 for ; Thu, 29 Oct 2020 07:54:07 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66D832151B for ; Thu, 29 Oct 2020 07:54:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="CfxFbK69"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QXaJtgDU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66D832151B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id CADFF167A; Thu, 29 Oct 2020 08:53:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CADFF167A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958044; bh=4DeplbETW4fyikai3AjTqHX7VVrkWDqX0tH6hlFUzAA=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=CfxFbK69Y1HCO6fS54gBL9qtgUB5ZVLMTv+3Y+uKeZLaoRQmDEyyuxTzmdp/auE0j KQJB0lF4oRbdybVvFm3vvo1g4/4UZjAjWl/yvkRK7Fl3cxbsYv1KhnXzRe7+z/rYh9 AyuMscI4K8jlGB1HMAUc0T4m4dEzlQ5v6AJ12uEg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B0046F804ED; Thu, 29 Oct 2020 08:50:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E98A6F80217; Thu, 29 Oct 2020 08:44:15 +0100 (CET) Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E52DEF80095 for ; Thu, 29 Oct 2020 08:44:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E52DEF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QXaJtgDU" Received: by mail-pf1-x443.google.com with SMTP id o129so1661936pfb.1 for ; Thu, 29 Oct 2020 00:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ESVv+pY5jSD1d+HDXCLrZGsW+m8ltnbCHyHJOCs8m+I=; b=QXaJtgDUeYsx+AcGbv7NKaPCw/bNzWl7kGcmJ8UeBrLmEBrptvJTXdbPEdNcUqcjvS T9pUt8/HfBrbFIKq4OyEgYw6ozuCyIOATOKkehoUZPuZGvf6s6b4G80OhfbdlgCzmh8D 7H3+BJFK+iK+v7/NKL6FUSbsJT6cGSzQ20a2NtQju6a40ATQ65huUbx76b+EmuzKG1// m0BZ+AYHX8/4e3HzYF0QIYp+pF/gDOSi3gU+oXDpHgv1Cha/xPY3eXzwhlqFnf0YTBeS nSlPC7+zT6IZJhLUiWJ5uODsK8PKb/XgShs/rfyHug0//TfXmQe++1QQWuVNm223KBsI WGFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ESVv+pY5jSD1d+HDXCLrZGsW+m8ltnbCHyHJOCs8m+I=; b=L8rP0VsfDDFkz9DvrAULIaiTBbPVH/Zq4BFeUDu/czpmJHqUEi/Br2XqJsdFASDRJ9 aYMBjJoDxciuOh08W60n9l6XiK3tgx4FLlssymFJ6HMuw8dFBssMHQo+GwfDsQpvl+bD rtW/9SxTmcvxBuP8D4DNBqFZgrpslBr/fvsKeqim1tPG3OzP506YP6gwpze0ilYGNBeX r7V0WMWR8ZboniLD1d28/BZzuQDtrn4R5SZ8JzuqMogLcYIxgb6NcG/SyB3vyOpQ7RUn 96XxCjBwsmQGd0GveNdHo4Mfn2t4dj5A5zQIh6+Pf6qMhz9nGefRA8RnjRfhyxdnG65m jIjg== X-Gm-Message-State: AOAM5300QjKIZT79ZxYV26XtU/7gQcJbkV9Whi0PaDExsppxMREff+g7 OyU2OHG7qfiY/pY+qa44ovw8+MrFhSjy27Gh X-Google-Smtp-Source: ABdhPJzfU3gWLWZn9sHRpVXg6rAqMMuzgyKIAJpqJHIJWbB6Z1zMoTjgOJ8HqL/1lFSZ4IlWTLfSpg== X-Received: by 2002:a63:b819:: with SMTP id p25mr3005032pge.282.1603957451120; Thu, 29 Oct 2020 00:44:11 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id nm11sm1920467pjb.24.2020.10.29.00.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:10 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 09/25] ASoC: tegra: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:45 +0800 Message-Id: <20201029074301.226644-9-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:54 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list , Liam Girdwood , Jonathan Hunter , Mark Brown , Thierry Reding , "open list:TEGRA ARCHITECTURE SUPPORT" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/tegra/tegra30_ahub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c index 156e3b9d613c..9fc22d5e9f6e 100644 --- a/sound/soc/tegra/tegra30_ahub.c +++ b/sound/soc/tegra/tegra30_ahub.c @@ -629,7 +629,6 @@ static int tegra30_ahub_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int tegra30_ahub_suspend(struct device *dev) { regcache_mark_dirty(ahub->regmap_ahub); @@ -653,7 +652,6 @@ static int tegra30_ahub_resume(struct device *dev) return ret; } -#endif static const struct dev_pm_ops tegra30_ahub_pm_ops = { SET_RUNTIME_PM_OPS(tegra30_ahub_runtime_suspend, From patchwork Thu Oct 29 07:42:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865479 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EA95C55178 for ; Thu, 29 Oct 2020 07:54:40 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D92F2151B for ; Thu, 29 Oct 2020 07:54:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="OHStTcJ2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SwP+WbU5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D92F2151B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 055E8165D; Thu, 29 Oct 2020 08:53:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 055E8165D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958078; bh=0unbzYVw+Uzos9ia+hWEfEbVIsnntilN6AH1njzKfCI=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=OHStTcJ2j9orQ9hhDzDVf3tx5jm64pppGiKyIeVJ8GRwZHkd5wO2KIjkS6bv8qPUm miM4CqlMusip92NbES9940D/QMgfxeoBgdt+rfj9bbwsB9EgIMM3+GPnnKjS6JT1km XR6Dc/UYYkHUHIWn7jEgMm5Y51MCv4OaEiWAkNDE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 28E79F804FD; Thu, 29 Oct 2020 08:50:11 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3D164F8020D; Thu, 29 Oct 2020 08:44:22 +0100 (CET) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 21F6DF80095 for ; Thu, 29 Oct 2020 08:44:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 21F6DF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SwP+WbU5" Received: by mail-pf1-x444.google.com with SMTP id 13so1651646pfy.4 for ; Thu, 29 Oct 2020 00:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=n4P04Jz1B6kfqdzGvKKnIFdWyM97aAtPxWHOKKsnz2Y=; b=SwP+WbU5kj9ZjusDCDsz3ZrX0Ik+OmEpx2GDCA69DDTslUYaPNIdgDmcJRuoboL1yo 7+BWeUfR73uuYwyux3tYrR+5De4Twxwtf/dAo5zq5r8vFGd/mFs6zZ0Hw9oWv/qmnkYe MD78lkd92G/nc/9d7C4t+HvIqaehcdB42mLPPau6x/IQ8yMg72uJWTIg7o/KrVnR22UP v018yQvxEL7kiqfjn28Nmz9WTFHYmuC134PWZ7UoHEQNVEkGHRhsSRFP7bqciw0nUdbW 3WYoR7wd2Yu6su1PLbIx+T+71nLe2xsGURJQfrslhaMysBSLJaYsEqN4w/i00Dnybaer UOwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=n4P04Jz1B6kfqdzGvKKnIFdWyM97aAtPxWHOKKsnz2Y=; b=rvGPBgoI79k6BxPqi/grFdAo4CxozItIKfZigdgUXGPmFv29ospmhi7GiJJTjXyvOV UXKF0dGxw1lWERkESlyTrnMV9lD0vrBXIVzAV0pxcWXfNJy5ZvWh/LWEM53gg4RbxvGb 0w9Cxz9PCCYsaAP6TtHXwPpJgl9Evvx6INVF//yWqyTkXlS8PrKpDQOYmR4vGEdUdU0m 4MKBQPB3BhCSrZRHxz/JuuVJ9NwIr5kZ3aKpuVYSBrfrY4+47ynaGgAi+lVKvoVjTPH7 2vcIqc6gW03eHi7ZIautyKnf9EjQwYSa04IxTIe7M+QjcgY4sQOB5j4k99YYV4DmndaN hHkg== X-Gm-Message-State: AOAM533pk6FXDQ0REygW68cyE5AyVgdipJNSNwnYTtCNGuzNmCIOedfy ArsBYpkHe84kB3U4Ta0nHsc= X-Google-Smtp-Source: ABdhPJzg83GKBxj/nfpn2Awb2i2RRcM4xIGJAMQ0oCHK8V1W4pzXTmHcNuYFDx78raqWaXw7CRWDeg== X-Received: by 2002:a17:90a:4684:: with SMTP id z4mr2976899pjf.97.1603957455791; Thu, 29 Oct 2020 00:44:15 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id i17sm1827132pfa.183.2020.10.29.00.44.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:15 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 10/25] ASoC: tegra: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:46 +0800 Message-Id: <20201029074301.226644-10-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list , Liam Girdwood , Jonathan Hunter , Mark Brown , Thierry Reding , "open list:TEGRA ARCHITECTURE SUPPORT" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/tegra/tegra30_i2s.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c index db5a8587bfa4..df55b90c3cf4 100644 --- a/sound/soc/tegra/tegra30_i2s.c +++ b/sound/soc/tegra/tegra30_i2s.c @@ -551,7 +551,6 @@ static int tegra30_i2s_platform_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int tegra30_i2s_suspend(struct device *dev) { struct tegra30_i2s *i2s = dev_get_drvdata(dev); @@ -576,7 +575,6 @@ static int tegra30_i2s_resume(struct device *dev) return ret; } -#endif static const struct dev_pm_ops tegra30_i2s_pm_ops = { SET_RUNTIME_PM_OPS(tegra30_i2s_runtime_suspend, From patchwork Thu Oct 29 07:42:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865475 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F171DC2D0A3 for ; Thu, 29 Oct 2020 07:54:55 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26DAD2151B for ; Thu, 29 Oct 2020 07:54:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="g6vHWdcU"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bdYT7RCK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26DAD2151B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5936E168C; Thu, 29 Oct 2020 08:54:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5936E168C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958093; bh=OwiIhAML4zA3HbWp93vzpABDWcLSvS5lfwUHPew2Xss=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=g6vHWdcUPwtam9DG9wAlp3PzTAE7107y3bY4TsTS8U9u0zO+c7xTsHscvNcWfIQVa Ge7wiAvF5vcJc5lNQyZazdSAc9zkQcNZWgcvHi+XOol8us0mo/qXuWBbRlVUhnk+bX 2q1s8DWJAoDPLPGuPCODK++UIkFif3Ugau6kh8x0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 04FD0F804FF; Thu, 29 Oct 2020 08:50:12 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D3E81F80217; Thu, 29 Oct 2020 08:44:24 +0100 (CET) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 15BDFF800FF for ; Thu, 29 Oct 2020 08:44:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 15BDFF800FF Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bdYT7RCK" Received: by mail-pf1-x442.google.com with SMTP id e15so1646178pfh.6 for ; Thu, 29 Oct 2020 00:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OYt9DPsIOPNIqy5dqkJ5lCLLGf00bKzjgHV7/FKrm30=; b=bdYT7RCKiIF5bBkrbTYntlKdOqtia2YZXQxKoyrwimF4rI/i2LTRqUQwxtRz0JGJOK pJRd47FrtAMSOfTJ2MDoZXbTvtK/dw/1a/SMrHOhliTQlsu7NLGPDe6FLeTDqqVW7Zwd /u5vQxnES6QQW3KTbWdE8TQmp5yzB9TOuVCV3+wQNH26bIe0mim3pCggXrQDZPepbrDj 239M/hFcPQOtqluGwkNXrQv286qOU6i4dX4LxERLdXOOYNY6SiEjhAywks7briuClUVH t2adBUU0kc1uK5VE5F5nq3FcryezcqR2epcnnBlciA/4MSZsn0D9Xrcl4vkglSHi7Slh KLtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OYt9DPsIOPNIqy5dqkJ5lCLLGf00bKzjgHV7/FKrm30=; b=Mx90f7xbFZXqjiD1y3oBGUPVa9jCKcYW62+sxyZxpDm7eeqNde+CxenTVl3IFi4MnL OB/bAwbHA0SvMZNCJTT7hHfh8Q8HCFmotQL8nuCCM8Wfu2hX40DJnh6zOEkHIQdhxat4 88U+SasXC99XD6f5HjZH8U1+bF6cIn0nQ07ggjWBzrhw+SW3FEI5UzwwBjR70Qz8kXeE gLmbgqn8/h+7+FneIKOH7ChTTsGq3sJ7yTkkebAkKpuAgV2UTCs+MXzrOsw59SVvQJ9s 7+WerIlsnj+3gTkIa/+hTiRUGw5wZUqz3sp0ROCPC6JoeuWaFvNEnxZMpCjXvbUh7/tE U1uw== X-Gm-Message-State: AOAM5301I3e61KIGqn5aWL6UIb1dSfAGOOkam9Vyk1OhIDtpw7pi75OU cKDMChehsoSx3c9ARcmDjWo= X-Google-Smtp-Source: ABdhPJzgm6erpGiPMEQPgP+rXdOPNC3MCgogID7xTCjo1ei4Pu9gFwMcSe9ios3QobaPjrqK6DtEcw== X-Received: by 2002:aa7:815a:0:b029:164:cc2e:2c56 with SMTP id d26-20020aa7815a0000b0290164cc2e2c56mr447859pfn.21.1603957460017; Thu, 29 Oct 2020 00:44:20 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id f8sm1541140pga.78.2020.10.29.00.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:19 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 11/25] ASoC: hdac: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:47 +0800 Message-Id: <20201029074301.226644-11-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: Cezary Rojewski , "moderated list:INTEL ASoC DRIVERS" , Jie Yang , Pierre-Louis Bossart , open list , Liam Girdwood , Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/intel/skylake/skl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index 8b993722f74e..da32d68080be 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c @@ -322,7 +322,6 @@ static int _skl_resume(struct hdac_bus *bus) } #endif -#ifdef CONFIG_PM_SLEEP /* * power management */ @@ -400,7 +399,6 @@ static int skl_resume(struct device *dev) return ret; } -#endif /* CONFIG_PM_SLEEP */ #ifdef CONFIG_PM static int skl_runtime_suspend(struct device *dev) From patchwork Thu Oct 29 07:42:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A27DC2D0A3 for ; Thu, 29 Oct 2020 07:55:14 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9C025218AC for ; Thu, 29 Oct 2020 07:55:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="JLuXd438"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TkJ1akdf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C025218AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EB1711661; Thu, 29 Oct 2020 08:54:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EB1711661 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958112; bh=kdKtFn3j/dG8N9u04x3uspzraK0dPwqBQ2cSyUSuOvk=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=JLuXd438EKLRyPt5deRirG3Dd1V1O7j911LuiVpJiIrAOVru3+Vk8U6UHpFqCa476 vdgs/WjyMUp4POUKc4qhx+e0tq6E4QShUNe86Igdj0y1yx9oVHX2nCRTfpzK2x8q71 y2TD2/dyMamNrH0xWsJdF0XtnOUgCBdLv6vejsuU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id F3C02F80511; Thu, 29 Oct 2020 08:50:12 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 70CE7F80217; Thu, 29 Oct 2020 08:44:29 +0100 (CET) Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C280AF80095 for ; Thu, 29 Oct 2020 08:44:25 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C280AF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TkJ1akdf" Received: by mail-pg1-x544.google.com with SMTP id z24so1661710pgk.3 for ; Thu, 29 Oct 2020 00:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nVqH6ZdDZsxjhz6ACxTIa4F9n2pNeqLVCfy2un8GTaA=; b=TkJ1akdfIG0oF27sYc+gc8WT0yjtsPijZW5V4jOCBNoMk3VeHalSL2CyeLWeT2FEL8 I6Q1Cj2eSEz4INHzkIZuePaC7S86drVW9TDaVxNS2PWkqc5eckuuAWzdTxpSp3yzfV6i 5nbuNAJQB5dSfCGWywWkWo+j36Mvdt1UpiDiLfGFEOCcX0PMKUBpngEqIKDSP06MtHQi 1FPCuRdZjfcV8VHzvRerkB6Kqq2D91okuEuDNWXX8nmXfVCMULqI6HcDujDqOqVEteqE Cov05UKf9ZngGAHfEGIljZ/T0AQcjjlzfX0zQwW1mv9SL5fcEx63QNS2Q0++I6J7gYVc VtIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nVqH6ZdDZsxjhz6ACxTIa4F9n2pNeqLVCfy2un8GTaA=; b=aYe77xH5g6UoGaow7R7EfiTponyNQbnKE7p2M14Z4ZijtMvJVz0MTGDp4XAssQp8Lr ctpKg7GyWJM/gmDzLHqabqv4uOAArwac8tQNWrqvZeVMF9OfLlxlgkDqvZlqCng7+Rub GB33U5m6zevDXlzMRFFd1oaeikHKOXDhZJdjXysdKjWmRxVa9XHqfliT6q4BeH78UAqo RKPR06jtH8y6FZhEtJgzBfrL6nL4WK+Yt//md+XDimhnkskEv7/TJHu6eeX1sTCyy+ml QuJec+UAapP3wqR8nHMaWPZltdGoob5eG9PvGct9e7erbp6I/FlELs0pnKMwLyGC6muP 61Tw== X-Gm-Message-State: AOAM530dXv3JpUoqafAMri5PVH+GbAqOi6lqTb0KQQh+Xe4Bcxci5BYz 65IGNRHWH1TpnT4Q32YorgQ= X-Google-Smtp-Source: ABdhPJzXC8sP+c39Xx1NVeZuvBhUppi3iLLlmqr3BQXMvhyTNMf7wD/5G8LbipRnbyxWoNz0D3NnRQ== X-Received: by 2002:a17:90a:784b:: with SMTP id y11mr2950425pjl.165.1603957464479; Thu, 29 Oct 2020 00:44:24 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id o4sm1855935pjj.38.2020.10.29.00.44.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:24 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 12/25] ASoC: stm32: sai: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:48 +0800 Message-Id: <20201029074301.226644-12-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:STM32 AUDIO ASoC DRIVERS" , Olivier Moysan , Alexandre Torgue , Arnaud Pouliquen , Liam Girdwood , open list , Mark Brown , Maxime Coquelin , "moderated list:ARM/STM32 ARCHITECTURE" , "moderated list:ARM/STM32 ARCHITECTURE" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/stm/stm32_sai_sub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 3aa1cf262402..38dd7e30af1b 100644 --- a/sound/soc/stm/stm32_sai_sub.c +++ b/sound/soc/stm/stm32_sai_sub.c @@ -1582,7 +1582,6 @@ static int stm32_sai_sub_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int stm32_sai_sub_suspend(struct device *dev) { struct stm32_sai_sub_data *sai = dev_get_drvdata(dev); @@ -1616,7 +1615,6 @@ static int stm32_sai_sub_resume(struct device *dev) return ret; } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops stm32_sai_sub_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(stm32_sai_sub_suspend, stm32_sai_sub_resume) From patchwork Thu Oct 29 07:42:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865509 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E8D1C55179 for ; Thu, 29 Oct 2020 07:55:42 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4302020782 for ; Thu, 29 Oct 2020 07:55:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="DWwKXSM8"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WGv43752" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4302020782 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A80AE1687; Thu, 29 Oct 2020 08:54:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A80AE1687 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958139; bh=rK7nHTnGhUurXLfqkfdLuRTgIvJzYbkApNCUL/FDBjg=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=DWwKXSM8FRTB/FcprlLDxqlh7n7DXP77I4QdXK4YLnK3FxieSLDjoGqDcfDfvZyvM BY8KGj0tHYr/dkuwmRpHB1F+e3sClomUSYwbnbWy85nrNXjF5LHdJFB4sSG43hdnLI 9MM+tCfWC7WhW/ZSz2skcRA9WcPPwpUkqI+16b3o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0E592F80518; Thu, 29 Oct 2020 08:50:14 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 70824F801D8; Thu, 29 Oct 2020 08:44:35 +0100 (CET) Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7C11CF801D8 for ; Thu, 29 Oct 2020 08:44:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7C11CF801D8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WGv43752" Received: by mail-pl1-x641.google.com with SMTP id 1so908166ple.2 for ; Thu, 29 Oct 2020 00:44:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8jpXiCRDdVAzZIis20MTViXOEmD/OZxxv4T9W35au2I=; b=WGv43752G20ZWCFW2dJnU7OTDDBqJHnRjacRItawB/45pQd8bZo/Jo94pL+f8Saczs snbxfZ5ieEjYPt7HQFA8U95p6BXyibnyHeGLF60W19Wy0K0LWCIRD5IbNyGhMrY0Wn4q +KBqJyu9JK0mr/RAOQJPOadPRbaz6TUL1bWqRYqGlplmQARzkl+X99F3zKItG9seZeyh 0+JVpIl/+R+1SL+5v8GF01kxDp2UbJ+XpTmn6KVxc2XdzQPrIAi2vuIRHzGLMI51aLRh zBKU1vv/6fkJlRD87TIrBnW0fze3JjdKzvf4nkDTUl6ZN3OmGovDgDAAdQDk+dj2j8FK vtYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8jpXiCRDdVAzZIis20MTViXOEmD/OZxxv4T9W35au2I=; b=pQwpE+XWA43bKX8zZ2hgXIU0la62vXZGM4DsLTjiwUn+evoXKvGQhWwNaBIECLwe8x cQi6MPrj5dIjlQo0KRqrdFrJT+t+6h1/V4IXUC7aPdUqBqz11SiDnAz0MoA+PQH4YJ3T Xo5qdl3kpYgcb9KdiN1tilPmqAlzB44+vQ7RC3pK9KV8TYluWxg+IOlQjJs0knOkaFtr XOVBhxm1kjuW/MuudkP/WFoUIca6/kI9NUPj+YdIottSwKnuLm6UK/xe/aCsVY55tL2a u/5mN56yKKxSrOw0wDyB2K69UQGhHwBDCAZtBiu87NDkcEcEFUcX1PQAXDtU3dNvOFMX qeLQ== X-Gm-Message-State: AOAM530yxGV6O5VbGwSmvPY1wokIDFTXxcoFnQiPLevkaqpdF7b5RaOh KBtC1gtAfp0gCrwtorp3JV0= X-Google-Smtp-Source: ABdhPJy6bo/OOxq28BpnumOynqNEHVJ3pfP9rwwlCtI4HJlzGRADoHpABRPlFl/v/E/8HksFmQHsxA== X-Received: by 2002:a17:902:fe07:b029:d6:88c5:f5d5 with SMTP id g7-20020a170902fe07b02900d688c5f5d5mr2125554plj.63.1603957470376; Thu, 29 Oct 2020 00:44:30 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id n18sm1800059pff.129.2020.10.29.00.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:30 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 13/25] ASoC: stm32: spdifrx: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:49 +0800 Message-Id: <20201029074301.226644-13-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:STM32 AUDIO ASoC DRIVERS" , Olivier Moysan , Alexandre Torgue , Arnaud Pouliquen , Liam Girdwood , open list , Mark Brown , Maxime Coquelin , "moderated list:ARM/STM32 ARCHITECTURE" , "moderated list:ARM/STM32 ARCHITECTURE" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/stm/stm32_spdifrx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c index 1bfa3b2ba974..40262ff0c588 100644 --- a/sound/soc/stm/stm32_spdifrx.c +++ b/sound/soc/stm/stm32_spdifrx.c @@ -1056,7 +1056,6 @@ static int stm32_spdifrx_probe(struct platform_device *pdev) MODULE_DEVICE_TABLE(of, stm32_spdifrx_ids); -#ifdef CONFIG_PM_SLEEP static int stm32_spdifrx_suspend(struct device *dev) { struct stm32_spdifrx_data *spdifrx = dev_get_drvdata(dev); @@ -1075,7 +1074,6 @@ static int stm32_spdifrx_resume(struct device *dev) return regcache_sync(spdifrx->regmap); } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops stm32_spdifrx_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(stm32_spdifrx_suspend, stm32_spdifrx_resume) From patchwork Thu Oct 29 07:42:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865507 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01BB4C55178 for ; Thu, 29 Oct 2020 07:55:57 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3FA2820EDD for ; Thu, 29 Oct 2020 07:55:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="tlVBqr0A"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dpXSOm0J" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3FA2820EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A00CC1677; Thu, 29 Oct 2020 08:55:04 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A00CC1677 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958154; bh=cUrKnAjNj4E/pl3sG4er8eAfljczBhav7aXzF4p/f2Q=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=tlVBqr0AxN1H0Vta4njndOzLGw7P8MBo0QEvqjpjbh8WOlESP5Zqhsgmm7bfL+Kee qF4TAlGdJZJyOW8WoY6qeCmDsjyKqMD5w5uwPa/2721OlDBhndkA8g86qGaui9syvc 3dODeLMUaHAOZj5yGeW6wvUcb2fuj9hgkvkfq9LI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 29FEEF80519; Thu, 29 Oct 2020 08:50:15 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 302D3F8020D; Thu, 29 Oct 2020 08:44:40 +0100 (CET) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 79509F801D8 for ; Thu, 29 Oct 2020 08:44:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 79509F801D8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dpXSOm0J" Received: by mail-pf1-x442.google.com with SMTP id e15so1646688pfh.6 for ; Thu, 29 Oct 2020 00:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UiWE1BDnMzq0w4cStIBBDPtKZjCua/B3Fm6Q5y7KxII=; b=dpXSOm0JyRrfZu6jwKKjBwt+khOLjMt/zuXhuZ0xq+dcyzm90bzcocd647Isfuz5yt SRyjBEVneC8nsATMpp6ZusV+e1rFTKDZXxXsTiZtXBAqQPPAfeToEDNfksUQoeZ51S5C icfesQUgvmiDyFqv25rtw8jFbZGX0EaLxpY7WHJT5bLTepargjKHO3ZchaQzYzUBwKke +FnYKpRUzjSg5chE747eSDPNkLdORqDYKhCzD7Lv1zqc0vuMLw/wapZvyACTqdI3i1pT to4pkCiBwEro1T1gUu5i6Mf3DI0Cs6DFpCDq/924BHimW8HMhDjZu57JhmnYN9Q1j1YE K5wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UiWE1BDnMzq0w4cStIBBDPtKZjCua/B3Fm6Q5y7KxII=; b=gUhV/zDgIBqjll8+RWIiZk8YX49UMbqTxnEU62tpP3Iq2py2gF1Zj6cFVVffFfY5TM 0H6byt3NwYNdpoabFwQ068rX3Tb/mDTNCk0MxZYeK6NU421HUPF7AsEPRFDJPZqr+94+ bJlTXyxKoRSeFBsjh0TVlMQryAR+qH2wlMloyZ2Aez/74vPQx0MpOZXi5dFrlh8ZMC0b 0inrDRpgoJIbn3mj9jFBPHilMWxwqY3bBsir/0EqOWk/iEMLzlfCzmmlXeI3f9EhD2Qe agBWxZpye9uIRMtLh+uqG1QMydFn+9I3bj+esRZpEoKm4v4F6UVJp7Mu1XPV3MwnDGce Qtbw== X-Gm-Message-State: AOAM533dN/EyDRlN1vHsvzUMADK2U4QUh1SucdwcpnigdtlCiqwV/pDT e7GLxVHMTpIYOq0QfHA++V4= X-Google-Smtp-Source: ABdhPJw+g/uyNSWUT43pQjWbmj0HYrQtDyg3buKh1aC7FdNCWaAB7PGuvClSfB5HBIPm6hc6PiDxOw== X-Received: by 2002:a63:7c56:: with SMTP id l22mr264873pgn.19.1603957476052; Thu, 29 Oct 2020 00:44:36 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id w6sm1560937pgr.71.2020.10.29.00.44.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:35 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 14/25] ASoC: stm32: i2s: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:50 +0800 Message-Id: <20201029074301.226644-14-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:STM32 AUDIO ASoC DRIVERS" , Olivier Moysan , Alexandre Torgue , Arnaud Pouliquen , Liam Girdwood , open list , Mark Brown , Maxime Coquelin , "moderated list:ARM/STM32 ARCHITECTURE" , "moderated list:ARM/STM32 ARCHITECTURE" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/stm/stm32_i2s.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_i2s.c b/sound/soc/stm/stm32_i2s.c index 7c4d63c33f15..138acfb26882 100644 --- a/sound/soc/stm/stm32_i2s.c +++ b/sound/soc/stm/stm32_i2s.c @@ -984,7 +984,6 @@ static int stm32_i2s_probe(struct platform_device *pdev) MODULE_DEVICE_TABLE(of, stm32_i2s_ids); -#ifdef CONFIG_PM_SLEEP static int stm32_i2s_suspend(struct device *dev) { struct stm32_i2s_data *i2s = dev_get_drvdata(dev); @@ -1002,7 +1001,6 @@ static int stm32_i2s_resume(struct device *dev) regcache_cache_only(i2s->regmap, false); return regcache_sync(i2s->regmap); } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops stm32_i2s_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(stm32_i2s_suspend, stm32_i2s_resume) From patchwork Thu Oct 29 07:42:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 558A5C55178 for ; Thu, 29 Oct 2020 07:56:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 878DD20EDD for ; Thu, 29 Oct 2020 07:56:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="ChKHOUqU"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Z32XblI1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 878DD20EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B8ABC165D; Thu, 29 Oct 2020 08:55:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B8ABC165D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958187; bh=yOKs3p0p/bAL4SuC/ZQI4Sof3Dcan/4S5ufa4RBa4LA=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ChKHOUqU8v41XFKwE0xErgWO4bc1n5PbUBXCFmLCYgDViPMC7y5S7se70d2m8UZHq A7CukVN9TH5uMX1JGS/Q5+nxG6AvmttkbEJ6RfeMSUg+Ci+aumsHEhwcCLQCT25AtE Y/zGOz8Z0xln+Y7vxEmpw1q1SwDrLY8OjE8tFCGI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 593C1F80524; Thu, 29 Oct 2020 08:50:16 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 99768F8020D; Thu, 29 Oct 2020 08:44:56 +0100 (CET) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A8D98F80095 for ; Thu, 29 Oct 2020 08:44:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A8D98F80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Z32XblI1" Received: by mail-pf1-x442.google.com with SMTP id o129so1663233pfb.1 for ; Thu, 29 Oct 2020 00:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4m44KFmOk0eNak9iaIXUK5dhQnw6EEz9bAOQ7LV+kgQ=; b=Z32XblI1UwfpGeY8IGKRoOCREAJBv4Wxmzx/PLQRnyG9iRBWogbO/1HMCzCTfeM0nn oOUKxXvcMs67QtS/qOVos3656g5Jru9a1AHxBB7pGVLZsWUcn/TZ0zZZ5Byco4SUgk0h vGFKD7MjWb3EH5ezFm9ywERMaTOFjjtZjCTN7NhYZE+RPKUCIMReGzXZZgNxr9CqBKMs WLBf3tg31g9bfiem+WrEr8Oy+AcIC95wj21pLn5u0J6QaPk92dPGhyS+JWobMgU7rCsS YN5VGPSvTqYgAvGoQZQgHylg7ECE9n9yJh3oNq4tF6RstGsRSVhUQn2FXlbQPw/lUoBk DIng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4m44KFmOk0eNak9iaIXUK5dhQnw6EEz9bAOQ7LV+kgQ=; b=A30zRH1Bg/u0/L6SFrkFq7rvuQ4eyDhakSk/zYbTFeCBuOIREJ458u51CJSnQN00Yb 5c+CLK+qDZVUVdxnMTdLyfaKJApt2GfrGVn5C0YGTceaFtQO1z2/pItT76XIr9Mcekf4 h5C5d/FEPQaBMGR8kJaqi4oHl2Y3m1Esv0PYpM6R5EMAvEJDoCExKra8aAouEeC3huRn 42cggFKnxgk7YJyIEjJxSEyWNdgnAI+aceQufK/ckY+wMoKBbaCDoljp3d4UaNmYRZH9 8cb+cTMwgPSNPmr/XyghrLA2nqL6NCO7BTo188qyofy7FS3NhyL6miykiAsL3RHGBJTE KyZw== X-Gm-Message-State: AOAM533u3tWF/Vc3t3UOx/PFFJCL9rTSS10oQXcyP1yhoPQlE7EUvlGv YeUVPuQ9vmYEYgNvyrHbG4Q= X-Google-Smtp-Source: ABdhPJxUStiKBOq+y2Ae/MQ+HXEPed/8Ir9KaIDXM7129LlFpnxTXtwP3ZWBQNm6V8CiZ8tUgGLDjA== X-Received: by 2002:a63:490e:: with SMTP id w14mr2951099pga.275.1603957492230; Thu, 29 Oct 2020 00:44:52 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id s11sm1960068pjm.4.2020.10.29.00.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:51 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 15/25] ASoC: stm32: sai: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:51 +0800 Message-Id: <20201029074301.226644-15-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:STM32 AUDIO ASoC DRIVERS" , Olivier Moysan , Alexandre Torgue , Arnaud Pouliquen , Liam Girdwood , open list , Mark Brown , Maxime Coquelin , "moderated list:ARM/STM32 ARCHITECTURE" , "moderated list:ARM/STM32 ARCHITECTURE" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/stm/stm32_sai.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c index 058757c721f0..40c9e554a3d7 100644 --- a/sound/soc/stm/stm32_sai.c +++ b/sound/soc/stm/stm32_sai.c @@ -245,7 +245,6 @@ static int stm32_sai_probe(struct platform_device *pdev) return devm_of_platform_populate(&pdev->dev); } -#ifdef CONFIG_PM_SLEEP /* * When pins are shared by two sai sub instances, pins have to be defined * in sai parent node. In this case, pins state is not managed by alsa fw. @@ -280,7 +279,6 @@ static int stm32_sai_resume(struct device *dev) return pinctrl_pm_select_default_state(dev); } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops stm32_sai_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(stm32_sai_suspend, stm32_sai_resume) From patchwork Thu Oct 29 07:42:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865511 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91200C55178 for ; Thu, 29 Oct 2020 07:56:41 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C5F362151B for ; Thu, 29 Oct 2020 07:56:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="D1Dk+uUj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="oisQJdTz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C5F362151B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 22EA716AD; Thu, 29 Oct 2020 08:55:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 22EA716AD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958199; bh=Kxo4SjZ4fzmci+jlMDvCpnUR45QjDzr4aNvwXuhUb5I=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=D1Dk+uUj3s6fGDiKEr4PdOrNOpVGVFq3sQ4g0CnV3ZSQmV1khGM2DaPIh0cBdH6Rv kumG31U1xTi46rQdDego0VL06fPMqXJCtML4c8BvIf8hSCCqCejbPICW39GzCwlkNj oyT0OOoCHu26pwr8d6RLew7ePA7fb/+0UV44MW5g= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 380E7F80526; Thu, 29 Oct 2020 08:50:17 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 285E6F8020D; Thu, 29 Oct 2020 08:45:07 +0100 (CET) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3EC4CF800FF for ; Thu, 29 Oct 2020 08:45:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3EC4CF800FF Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="oisQJdTz" Received: by mail-pf1-x444.google.com with SMTP id y14so1627011pfp.13 for ; Thu, 29 Oct 2020 00:45:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yud4LFo3ZtN8YB5h2zgMiUFZ5gtVLkjhEUnn5lF5Ujo=; b=oisQJdTzCQ1BpXv3Ln1D5dP8ROZCbsZGjFZ6m944zrR8HRDDm2St51OhpWpuOqy8S5 ClpBqdSH7BlOncB5aYQqBsdxdQAUBKmOMcfIn1+R5TjfHRpBZdkhJi1eTzgjaAHMFOCw fc0AvqTxuk8rvCHhoCzKNbu6WgCVSizKQCTETCND3zYc8/x2L3KdIXweJBNS3gdQ4DI7 bdzNWvJjr5uvqfTfLe7V3StvR5rmPFHi3kAXDl1Bo0PzBWAc0RfWTzI+uqyY1kXdZuZM ORxrkpYRK6SfLT3xEEled1rVjzESfhmwa/ctxRqBZfrutBdYATAtNGj57xQpN2aN97sD 6hZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yud4LFo3ZtN8YB5h2zgMiUFZ5gtVLkjhEUnn5lF5Ujo=; b=iPCRyO4iNwyQTlSLPwt+pG3n0lrr6lEe6arejcSZzUSH0kCC6s4bwzp8jEVhkR8A0e hcNbo4vZrhrR2sbVu9aQ0pKowszRXBLUbGHitPoPXIPpWtt4N8/sh80YfRm9YalySXMt H1JxP4Dlvw6aminiIzw0fg8cIUhjeouVvf2zJLrh38nL7Fs07yqODFiIxXB/heiSH8FN zxNQ79rCmLowr3JLLTZehPgzuYrZ77oMmfcQXqau2icO37+h2kzwKePpt61pHsQTMlwt DdJIgNP2jIHYRoXE+t5NrXq0KCmWQ/AIwCSKbXjQUhU3c2dxtnGfbQl5L9lWeBFSmenb lqHg== X-Gm-Message-State: AOAM532JIPKImbgD62NMfcODbG66LEcDTDdImoJx02O0l8o/MXj5eKHm 4DewsA5JzGXOtCz3WzmwZ3I= X-Google-Smtp-Source: ABdhPJzYOaREJky9YPVbrpsi34cw/1JYIXt6d1J7PjFokyFWL3AZPbsBHCjkKDcJlm3lKgjwNeJwCg== X-Received: by 2002:a17:90a:10c1:: with SMTP id b1mr3057967pje.58.1603957503735; Thu, 29 Oct 2020 00:45:03 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id j6sm1650239pgt.77.2020.10.29.00.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:45:03 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 16/25] ASoC: sirf: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:52 +0800 Message-Id: <20201029074301.226644-16-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: Barry Song , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Liam Girdwood , open list , Mark Brown , "moderated list:ARM/CSR SIRFPRIMA2 MACHINE SUPPORT" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/sirf/sirf-usp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/sirf/sirf-usp.c b/sound/soc/sirf/sirf-usp.c index 2af0c6f14ee6..ae2890827414 100644 --- a/sound/soc/sirf/sirf-usp.c +++ b/sound/soc/sirf/sirf-usp.c @@ -313,7 +313,6 @@ static int sirf_usp_pcm_runtime_resume(struct device *dev) return 0; } -#ifdef CONFIG_PM_SLEEP static int sirf_usp_pcm_suspend(struct device *dev) { struct sirf_usp *usp = dev_get_drvdata(dev); @@ -340,7 +339,6 @@ static int sirf_usp_pcm_resume(struct device *dev) } return 0; } -#endif static const struct snd_soc_component_driver sirf_usp_component = { .name = "sirf-usp", From patchwork Thu Oct 29 07:42:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865513 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 942DFC55179 for ; Thu, 29 Oct 2020 07:57:14 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C63E8214DB for ; Thu, 29 Oct 2020 07:57:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="RpNAKuIv"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GcBbyaVp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C63E8214DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id ED90016B1; Thu, 29 Oct 2020 08:56:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz ED90016B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958232; bh=3cF/gfTmHvryxal5L9QbPQcLKdAuATrowdzZuHrZgCM=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RpNAKuIveWNxif+DDiCNVHzZhQVx5/HbqU1EF+oqoQE/V+Nek/hLCh+LjR2Dxz/bO su6JQZ8I9NgjcOtfY4FxHSr7AxdsdQidrq02RALMZGjP5D7T0GyXzxbbDCx8WV2ess qFse3FKP/jnjhmahTgfpsxWg3HIKdzpxhchSi4D0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 916C3F80535; Thu, 29 Oct 2020 08:50:18 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C572DF8020D; Thu, 29 Oct 2020 08:45:32 +0100 (CET) Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 41EB0F80095 for ; Thu, 29 Oct 2020 08:45:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 41EB0F80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GcBbyaVp" Received: by mail-pl1-x641.google.com with SMTP id b19so916575pld.0 for ; Thu, 29 Oct 2020 00:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rg5J52NuyGCmmE1mtIcXPCwKs4Dspg6yOxJ+mqzq0jI=; b=GcBbyaVpviEKwJ5P+78y2ZosN9hkzhWGP4CYU5Eqo4qFc1b8GP0n1pmTj9W600GgYd +lp3Ubkqsyd7xVHssjHeZSkLaI/ap1lvsq6kOvDp5HchCO6sn1WsiXjqvwXEgpCySx7u AiT9YMXUmTzjGKZ1udDSXYBtk0lVmSH3/96Kx4fhDb737u+lduYuqqmDUZ/q40lvbrxZ vuKBGhRM3OhoB8+V3WF7+Jbh3BGT/dnx4H6LaJOPMNcWi9agRtfU4Hj9fLhiCI7u1Xiw cvQV4awVQzrUTcQ2HpV5calW5w0js2lzWvwwLjFAQCHLEA6RRfAmGNqLmWUYZWiETZms Umig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rg5J52NuyGCmmE1mtIcXPCwKs4Dspg6yOxJ+mqzq0jI=; b=oYLXnZlNxFVZAk0quYmMySJg4/aT+NMQbk2bBfBNzup8jbjpOs4KnLDKPtGJzn1zcj MFOtYhUeHbxT7WScAGuX/0B9JqZGcUTqMLxshk4Kf2yEfXGknlLnWR3TQSmSh5NG0b3g zjqekgRrkToA55cefVDePon2RlG1oiMqjlwOT/EaWJo0K3HmXk6+/PApU5oZYcpqXrVz Lq/McO5fcVNnf+G7s7x9imSoSORbYe+pkdoOLYfX1sQQTTnW4NDxqsezKhwDnd/dCfYR hnXyJG+8E77LS0kpFgPP3p8/8Ee7wl9b+yHn855URLP/air8U/jPkBw9IcWqDS1coFq5 baiA== X-Gm-Message-State: AOAM531Ps9Z47tzRSmnDyvN8jlm2CVdp8eOp76p1HKzfUr0hz3uIC3Jp 8FvneX03/oz5vZZQMaCfP/U= X-Google-Smtp-Source: ABdhPJxyHGcIIytk0HselO54m4ginY9+7Q4ekyHRdxzBx8YVFup8tCHFE3TtzL04LqRyU9DN8M3ICA== X-Received: by 2002:a17:902:7882:b029:d6:38a2:8dee with SMTP id q2-20020a1709027882b02900d638a28deemr2791341pll.58.1603957527452; Thu, 29 Oct 2020 00:45:27 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id v3sm1709965pju.38.2020.10.29.00.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:45:27 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 17/25] ASoC: hdac_hdmi: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:53 +0800 Message-Id: <20201029074301.226644-17-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/hdac_hdmi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c index 2c1305bf0572..92111561a041 100644 --- a/sound/soc/codecs/hdac_hdmi.c +++ b/sound/soc/codecs/hdac_hdmi.c @@ -2026,7 +2026,6 @@ static void hdmi_codec_remove(struct snd_soc_component *component) pm_runtime_disable(&hdev->dev); } -#ifdef CONFIG_PM_SLEEP static int hdmi_codec_resume(struct device *dev) { struct hdac_device *hdev = dev_to_hdac_dev(dev); @@ -2049,9 +2048,6 @@ static int hdmi_codec_resume(struct device *dev) hdac_hdmi_present_sense_all_pins(hdev, hdmi, false); return 0; } -#else -#define hdmi_codec_resume NULL -#endif static const struct snd_soc_component_driver hdmi_hda_codec = { .probe = hdmi_codec_probe, From patchwork Thu Oct 29 07:42:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865535 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63315C55178 for ; Thu, 29 Oct 2020 07:57:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 76D2D206A5 for ; Thu, 29 Oct 2020 07:57:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="sd3JQln1"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J6Pse+8q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76D2D206A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id CDC3F165D; Thu, 29 Oct 2020 08:56:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CDC3F165D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958246; bh=rP/oEFJ2Z+OYoWnAVscS1zNkkLk8bhbTfWTGk9/npJo=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=sd3JQln1F9vUFQ6QJbmEh2KqZkolu2KFk/h4+7to+WvOPy5/ppa3rkdxZg2vJwHDi LPBqPFG9mPHK6KV3lD4eKhwlYPJLwyZ/GhReU8PNTs/rLXV5gg5jRUfd1w2ACS2gW7 Bo0y4WuHrJD3OANED6d87ImOcEBUEuuuDxSML5i0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id F29A3F80539; Thu, 29 Oct 2020 08:50:19 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 551B6F8020D; Thu, 29 Oct 2020 08:45:49 +0100 (CET) Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8EDD1F800FF for ; Thu, 29 Oct 2020 08:45:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8EDD1F800FF Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J6Pse+8q" Received: by mail-pg1-x544.google.com with SMTP id r186so1676090pgr.0 for ; Thu, 29 Oct 2020 00:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lZ+bCLUPWFW4dhgVkM+HvetJi7WpGsivphFjqhZjB18=; b=J6Pse+8qTJnodLorMXhsLMbxAUsZqi6tDRGHyvRXfxKQCWDh2jC/bIDV11ZL5Bw/3Q ARowBURGJUnIK+NKb7hNvjieet9WHjE1K4Ab2sMAVamYFbwjozMn86+Zo5hJQf28IFYK VRFnzPyydM0zp+FfX9Dv7ntSvGEF1sS3/MbJCbZDgjPSPFbhuqdHCyQKfB0adogZqfW+ oefhCIo1ErN/lKsHP9sgQsUGRO3F4ROzewcP786E5g0hrkYaHUTEekyMU2dRxZ4Wz9/3 jrO+eHEt0KjhdaJ2eAjx+MqoHGCM76zKG41hYs6vEfZfILGuV+V8QQFDjfAgqOUpcpdf i53A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lZ+bCLUPWFW4dhgVkM+HvetJi7WpGsivphFjqhZjB18=; b=CcK0fSGi+aLfAtHJx838M4bismpA5Q53yikHjTlZjW5kOZMOQVHZJsUISlQGsUAlP3 /hlAlDkv8A+vFxKNnNiszmD0x3EtT6Blwm7sgOUV/ljXSqxgA1fgS7tWifeiZES6jmcc ukQYSCO2kJ0zC2mszzsOlo/uGwhZE3KC45Yiz/DlFI8u2AulcYHlSZhBWythcJeZRpea c4ST45OqnYAHPcRipwCx+yooFINDvRJZwFyFyJXGFlj2kbTIzQ+B12Cwgta7D3FSRZxp ljXxdYEEzO2ad+nmu7lcFHeDE/PumhLnUE7rRPH9Fj6BMyTTTx059cj22WnxDXE6DF08 8xYQ== X-Gm-Message-State: AOAM533XggLJc+71qCR+1xajuGLZQNX/jk3MxvNJxKPqOp0gXZaWGcEc 1qKlIrO5dTtXsYDII9mqjomWo3ZRixYrurzS X-Google-Smtp-Source: ABdhPJw/tJMsfwgAxL9DNye+HsiaMI0nNmTnp3B33iBd0z4Mx+94V5Um/rn74SNsIYg1B7bUMAGcQw== X-Received: by 2002:a17:90a:1189:: with SMTP id e9mr3139594pja.124.1603957545181; Thu, 29 Oct 2020 00:45:45 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id y5sm1665220pgo.5.2020.10.29.00.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:45:44 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 18/25] ASoC: codecs: max98373: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:54 +0800 Message-Id: <20201029074301.226644-18-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/max98373-i2c.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98373-i2c.c b/sound/soc/codecs/max98373-i2c.c index 92921e34f948..f847e7e76635 100644 --- a/sound/soc/codecs/max98373-i2c.c +++ b/sound/soc/codecs/max98373-i2c.c @@ -468,7 +468,6 @@ static struct snd_soc_dai_driver max98373_dai[] = { } }; -#ifdef CONFIG_PM_SLEEP static int max98373_suspend(struct device *dev) { struct max98373_priv *max98373 = dev_get_drvdata(dev); @@ -487,7 +486,6 @@ static int max98373_resume(struct device *dev) regcache_sync(max98373->regmap); return 0; } -#endif static const struct dev_pm_ops max98373_pm = { SET_SYSTEM_SLEEP_PM_OPS(max98373_suspend, max98373_resume) From patchwork Thu Oct 29 07:42:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865539 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64589C2D0A3 for ; Thu, 29 Oct 2020 07:58:01 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8EA9920EDD for ; Thu, 29 Oct 2020 07:58:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="uBwAaTpz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Zvww3hgN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8EA9920EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E1D4516BE; Thu, 29 Oct 2020 08:57:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E1D4516BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958279; bh=fIA8NC95XCMYZgXwXD/vbnF35MHrIy6y4wPssVEV6xk=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=uBwAaTpzw44832IYayFf/UiT5sKeYmyfG0cUjdXIBXYgGSTIOwzDokELYGx/IuRNK qcIzNYcTNmuLeucjXV7vfxCrn67iSJfIs22607b8b2ywe9J4X8DsjrW+AA5h8657Rh NB0WFm/jncuhCtn0vV+xN7VLOAregDubRZvXB3V8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 98F86F8053D; Thu, 29 Oct 2020 08:50:21 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C1E5CF8020D; Thu, 29 Oct 2020 08:46:00 +0100 (CET) Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CD8B6F800FF for ; Thu, 29 Oct 2020 08:45:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CD8B6F800FF Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Zvww3hgN" Received: by mail-pl1-x644.google.com with SMTP id f21so903855plr.5 for ; Thu, 29 Oct 2020 00:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Srt9Zr3sbLPIZI2HZoMYv5lnjbmkxnLms7pVPF5Blnw=; b=Zvww3hgNnlo7R8RXwg3FMc6GgW//WUoWYaeeb+tehUfljZXqY13AQsHzLcoEbLdYZA kg5DXmd3ZuwmTcwsZiw8aqCFCvbfqN9xIw2VMXx0bbY4xlbNEEwJXE2K8Eqq4hEMqxLw 6nSTktTnvIh8FvzhCAaOPwR/KpXgXRgS6XRqUvoRSaB9/EO3B4GNOSPMBpzpnJpWMNuY hUBdxcl86x0a2vzgffUal9Aht4eFqe69Zmotg9OHgBvs2/G1KuA61XJ5g2khkHb5SAGv KQpun9GiE7hZSIc3hFygJFY2BW5yEyLacpcJat7zdpad1+0z69MFlryNwKPz74H2Lzlx qcgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Srt9Zr3sbLPIZI2HZoMYv5lnjbmkxnLms7pVPF5Blnw=; b=Clbmg4N3duNNiIlWY0LKRxOYLC6+f1hLcK8LPT329YIO4qjoZP8xSm4+Hq2h7aHvt/ 4f6kKrZERzOexm96fztX04s+DBI1vy9VqLggwO1wczA3K7QgOF/+ORNz/DGb+2gSTEsR T3EzbkU91GCo51jnxed2qdXcjsrLVXQtWTqfm6ej1Ohwg2DZSawiVy/f0GmH6qzCqy4b mZBslGQT3mtxHMA38QMFiURbVd9xUZr76mNlSRcr0AHRnDcZfxlB7TUuoqrEuBBcvNIH eUOxrQ2xZMypEdxJC15Icpqt2eR5Vg2JIdVj6xfOvHoSNjA/8AsJItI9wz398ryDigAE /oSQ== X-Gm-Message-State: AOAM531EqnGCGA42tLztxmn8QGj1hfesVr0Pei1yYS6w/ne+ixdMJw1C M5NtFRVXVi5S6IJD9iFXtPE= X-Google-Smtp-Source: ABdhPJy/XS1AXFlInVXO533UQqzhqOpm34bFyUnt7mcdz6zM+v9F9snWZUyres15CNwXot89r2kIAA== X-Received: by 2002:a17:902:c113:b029:d6:944e:fdb3 with SMTP id 19-20020a170902c113b02900d6944efdb3mr12157pli.4.1603957555029; Thu, 29 Oct 2020 00:45:55 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id n7sm1599220pgk.70.2020.10.29.00.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:45:54 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 19/25] ASoC: sirf-audio: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:55 +0800 Message-Id: <20201029074301.226644-19-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: Barry Song , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Liam Girdwood , open list , Mark Brown , "moderated list:ARM/CSR SIRFPRIMA2 MACHINE SUPPORT" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/sirf-audio-codec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/sirf-audio-codec.c b/sound/soc/codecs/sirf-audio-codec.c index a061d78473ac..b6a101ec6e7c 100644 --- a/sound/soc/codecs/sirf-audio-codec.c +++ b/sound/soc/codecs/sirf-audio-codec.c @@ -522,7 +522,6 @@ static int sirf_audio_codec_driver_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int sirf_audio_codec_suspend(struct device *dev) { struct sirf_audio_codec *sirf_audio_codec = dev_get_drvdata(dev); @@ -552,7 +551,6 @@ static int sirf_audio_codec_resume(struct device *dev) return 0; } -#endif static const struct dev_pm_ops sirf_audio_codec_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(sirf_audio_codec_suspend, sirf_audio_codec_resume) From patchwork Thu Oct 29 07:42:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865543 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA98BC2D0A3 for ; Thu, 29 Oct 2020 07:58:15 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F27E720EDD for ; Thu, 29 Oct 2020 07:58:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="LnLtSQHZ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fwqb1spm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F27E720EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5FAD216C8; Thu, 29 Oct 2020 08:57:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5FAD216C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958293; bh=pMlbAqa42LVACxmlliCo297WZrrSwNyGxDdqP0AIGsQ=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=LnLtSQHZ6ZrYJLRr6qUhE8JHo0rWYCrUT3cBBlGRAhIWtdFMxDPGMlp3IIQf4PZkQ LTrkt04ZoTTDQScpInPva5DAL7mfkxnt5ikye7Go3DUdRt09C10Ja1elUEl9uGzvUC JSNCS7dyVkrg1ArUiHNv8EdSEMQEwtzaidgqNfKs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 161F7F80544; Thu, 29 Oct 2020 08:50:23 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 344C3F8020D; Thu, 29 Oct 2020 08:46:10 +0100 (CET) Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E3F9AF80095 for ; Thu, 29 Oct 2020 08:46:06 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E3F9AF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fwqb1spm" Received: by mail-pg1-x543.google.com with SMTP id o7so1659864pgv.6 for ; Thu, 29 Oct 2020 00:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+fK2OKGG4p6bBRTtmFHio3t91tYIgqc0DsdsIh3WcuQ=; b=fwqb1spmwvHpmlB/d75reyt5h4z8ocPuPqiM5mdXJ4T+5K5P3vH0oGF9ARZygflH/n U59mds2tnw0KPqvD29hNFDxSwvdfFFSzpCI4IGontMbmIKSaxNNPCF4tw5aoKCQUILjf N11tN+SfI+XP8CxhR62N6F6+XoeJUE3do3F09QQSOuiFikVLq24Wwp3noTJuy38yAECR IgVSb8K4cMuuvyYHHNiJ6exSrBlwaRDuAjY331AnzGIoxHudk34o+2Ox6ukP6llzNVRs URWyEEeBofEw8Yte+xw7m/TpGD6vxdNPm1tNJRbdBV+5Jb9Gj/ApIa8FsuMTAppW7g5+ d9cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+fK2OKGG4p6bBRTtmFHio3t91tYIgqc0DsdsIh3WcuQ=; b=NdJJ2sYV1EOhUuDMiA6Z6ZLI4ikU5NaD3fP62lEfm50A66SabshdsdsDH2ShoMGNT5 xR5NmVHmHnpijPBVaWFOgJ0qsgErMwyjItSlJIN8Q5WMZaLZi5TOXInsrm1/bqHFRimo mORL5c/PstDq65u32x27s+CJ6hiW6jltMOLlsW/6gZNyZOb+OQfQ+RMhjWmLbEaF9tdv 0Z6IygcM90dhOT3YTtY1Z+QHmaf6flmUPDNqCx6vLJcrdXlh/bxRpV7jc0stmhGSAxMT 9J0i0Dh+w7nUQcf9cHGIMpQB+Og//bCEHgCiGSsCRBu9reMeqzR4shjq81EwGKBzdmJI WZHA== X-Gm-Message-State: AOAM531kQYMRb9aXiEhYLWq3ONb1oLa9/OcTwggMYiyff5wzcIfsj8kO bVKyqMslKmTE9d3DtOqexvw= X-Google-Smtp-Source: ABdhPJxAard+MstQQ74IvRjEm3mHbgNxVhSDNfaQyzhEUf/VKrm9IqsMsBxCjyNF9MRXU+CSHRKg5w== X-Received: by 2002:a17:90a:348e:: with SMTP id p14mr3047577pjb.75.1603957564962; Thu, 29 Oct 2020 00:46:04 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id e5sm1945312pfl.216.2020.10.29.00.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:04 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 20/25] ASoC: max98390: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:56 +0800 Message-Id: <20201029074301.226644-20-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/max98390.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c index ff5cc9bbec29..50b37e39bb6d 100644 --- a/sound/soc/codecs/max98390.c +++ b/sound/soc/codecs/max98390.c @@ -889,7 +889,6 @@ static int max98390_probe(struct snd_soc_component *component) return 0; } -#ifdef CONFIG_PM_SLEEP static int max98390_suspend(struct device *dev) { struct max98390_priv *max98390 = dev_get_drvdata(dev); @@ -913,7 +912,6 @@ static int max98390_resume(struct device *dev) return 0; } -#endif static const struct dev_pm_ops max98390_pm = { SET_SYSTEM_SLEEP_PM_OPS(max98390_suspend, max98390_resume) From patchwork Thu Oct 29 07:42:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865537 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A8C1C2D0A3 for ; Thu, 29 Oct 2020 07:58:41 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4AED920EDD for ; Thu, 29 Oct 2020 07:58:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="gFm4fLSq"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Hpu37JgW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4AED920EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AA28516CC; Thu, 29 Oct 2020 08:57:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AA28516CC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958318; bh=qsd7pfkk9HTdd3RIaXjT9P0kIvedgDKnyyES52JNcPA=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gFm4fLSqQbsUTrspg0+IX1Yl3ilaUDu/yVDyzlwwmHc30rwxbvavRqg1grZZ6Pona CYuK1F9JBuJ3TSATXvrEcunyT/4HS17OmY6iC74KyVE5tXWTJjlwKsAukI7O+enrKI 0twRZbM+27vqLwQJQHZ8bzAJwYzopu3+rHley8So= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 37F64F80553; Thu, 29 Oct 2020 08:50:24 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 829E9F80217; Thu, 29 Oct 2020 08:46:14 +0100 (CET) Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 95023F80095 for ; Thu, 29 Oct 2020 08:46:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 95023F80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Hpu37JgW" Received: by mail-pg1-x542.google.com with SMTP id r10so1644010pgb.10 for ; Thu, 29 Oct 2020 00:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xjj5xWJ9FV84cpQMmB6KMC3hiQFFHX6QXSYfK7Sl5ao=; b=Hpu37JgWrjQxEt663nH8uB2W7ILKGM7z3qWFfZpgnrFEcFeIK3xA0HVQKLh9KN1ZX8 lHIsLEyPhyxIOJ+MBSD2Z84N7PqRxaK7sNQ8w71VniGjrOWPkMc9kcbKBojWUgS3//eZ YbWjZ2J3ssSKoU0kFW3wq8wl3SK+4zQwCVACHu9AqJH3heSnU+AdUSYQ+yv2kLTW/kqS 2WSd9YZ4ID400GWfQQnmOkabwZWpwu1kzJ9QDZZrkR11bW18dtazy4hOAi/YVSFcCpCv 9gamosSezd7HxtU8h+Py6VMH50ocQn6P5g5pmaj4s6rvu2Sk2yg8Yt7MSR/GjI6Qewlg dvMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xjj5xWJ9FV84cpQMmB6KMC3hiQFFHX6QXSYfK7Sl5ao=; b=XfEj6RGRiNQ7HIt52rshUPblPjoGl+7XQTLaqZ5Oi5I73MWra8np2exVfcgMPK9Ey4 ccXAAMTAbiQUZ/VWEz70lqvVcNwBDxq0lhzGXrvhXzSBjzQi3zisUF0EEsK14GAPiWL0 sWQzTKK9ZqNiT7zcvv4AvC+vQB36YVrPdhrQUE8pRjdmrF1xusWqZ7SsSQQI4yjXWlXp k35/RLLJN9QjkVWrFks09IFxGExf7GBN4UP/18JfxrUYopg4Fb/opt7rFDx6IlUjx9yv CLbVoEBZBJR8hkhVMKen+IIjs74a0etC/hLGds+2Rzl4BoU5iWpkwgmIjZwNLvVrgf8y CcXw== X-Gm-Message-State: AOAM530u1cQylFlZyCys3eKtqWr1HVGabQFlaMqFZyK0OFFpxD5S1/sP RPdI+WUHJHX1lnfGUxsqaFs= X-Google-Smtp-Source: ABdhPJxi3eINEcdp5sUgDPI05F5UZjtYEVshNYP+69Q0bVkg2BZFWVCs06Kcmm+RLdaDBnWSQPWT4A== X-Received: by 2002:a65:41c4:: with SMTP id b4mr2195258pgq.223.1603957569666; Thu, 29 Oct 2020 00:46:09 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id 38sm1564272pgx.43.2020.10.29.00.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:09 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 21/25] ASoC: codecs: max98090: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:57 +0800 Message-Id: <20201029074301.226644-21-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/max98090.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index 945a79e4f3eb..97175d7c99cc 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c @@ -2636,7 +2636,6 @@ static int max98090_runtime_suspend(struct device *dev) } #endif -#ifdef CONFIG_PM_SLEEP static int max98090_resume(struct device *dev) { struct max98090_priv *max98090 = dev_get_drvdata(dev); @@ -2653,7 +2652,6 @@ static int max98090_resume(struct device *dev) return 0; } -#endif static const struct dev_pm_ops max98090_pm = { SET_RUNTIME_PM_OPS(max98090_runtime_suspend, From patchwork Thu Oct 29 07:42:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865545 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0107C2D0A3 for ; Thu, 29 Oct 2020 07:59:01 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 094F221481 for ; Thu, 29 Oct 2020 07:59:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="C7h86pYG"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MnncO8tP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 094F221481 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 65C8616BD; Thu, 29 Oct 2020 08:58:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 65C8616BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958339; bh=EAYw6rEnFopCzwr4McQXkQclUPvkVmqO0x0kPQIxN7o=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=C7h86pYGg26BYFYqohtJPEXH87Cq/Ak+JmZZhyciLd2g0PdLaaNHGopy6nH65Pwzo IKqtglyII00lRJChwyNhNhU440Z1MGE1nQjcRuBVQP8WarQTLaS6p5Kd4ewRHXvCu8 rverEpLwNS//TmqUPitya5db5V62djhS7f9BVwUc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 42471F8055A; Thu, 29 Oct 2020 08:50:25 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 26BB4F8020D; Thu, 29 Oct 2020 08:46:23 +0100 (CET) Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 69538F80095 for ; Thu, 29 Oct 2020 08:46:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 69538F80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MnncO8tP" Received: by mail-pl1-x643.google.com with SMTP id t6so888081plq.11 for ; Thu, 29 Oct 2020 00:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DqWaovVCPL/Bqrn37hn7W1rsqDZ6SlCUd1zEodOEgN8=; b=MnncO8tPOgIhA9PC4r2IzlM9lcXfkaicR8JQE4AgbFDrgX9Pu5cBANM6HRnFoLMn0c rSCotDOjsH0zi6C/Hnvdy/Cv6zcU5KLe2NP5Y85IHMM44pj1Dgqj77aNn4QD+3UjuQUb pgmk2DmksmAuOeOi8yWK9HnhjMwEkuI6AoAd9cPAtmecKboFqtUzeZCjU+t6eWTojnhr QgCgLo/11V8nr1KO+WiTSMA4eVzucOFdXZpi9lg8V4c/tYw7GhaT8QUNUerXvgv2Qk4r xAc3x5+KWJ6J3oyNyiwQHcNAm5KWCfcTersQXPCm4M7elwAViUne+RPUkLhZX54ZaZ/i g5cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DqWaovVCPL/Bqrn37hn7W1rsqDZ6SlCUd1zEodOEgN8=; b=lQg6206MZyQG2pQrt0icDOgyzyM+kUqxpyI7oj1gtz0LdwVuM1DXTM0ygtCSusZB7Q FQER/pq3qBA6IUegPRRHxDZx3zqgqWbc98cyq517HzPlWuqv2tw9tEXkFWNpBrOgo3cv rNO7yUhIHqf1ozF8GatzXdyQApFkHuLXltB0gNIOjmbHG7qXzCGq/k6rj30359kbZutS tumfm5uNfW7pUMJH+04r0C2IVNdv4WTXIhHfJO/AhZ/6Al0XfnNMcBSP3bVd4YwR5tI6 lwlAcptu5WqZX/ZxAfTGjH8OIFXADmdANMRCPsw4Jx9FYh7bX2ojR3W7jbaO5pW5BaAZ u+OA== X-Gm-Message-State: AOAM533VSK9dKAABs3Bj8nmMJ+tlVguQi49VIDe4wBhXhZ4XaEB/qfgE E4bhrN1vErk+TNnok63HGzc= X-Google-Smtp-Source: ABdhPJy+M1UIinoo2AEmLXQsGG3cg9gop3Jegb7FgZ80OjLmb5b3L8AQ0Sdx44L9Pm8IEoN6rwHMWw== X-Received: by 2002:a17:902:740b:b029:d5:cbb0:fbe7 with SMTP id g11-20020a170902740bb02900d5cbb0fbe7mr2792992pll.27.1603957578094; Thu, 29 Oct 2020 00:46:18 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id ev5sm2462381pjb.2.2020.10.29.00.46.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:17 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 22/25] ASoC: max98927: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:58 +0800 Message-Id: <20201029074301.226644-22-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/max98927.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 8b206ee77709..48c6aa78a410 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -794,7 +794,6 @@ static int max98927_probe(struct snd_soc_component *component) return 0; } -#ifdef CONFIG_PM_SLEEP static int max98927_suspend(struct device *dev) { struct max98927_priv *max98927 = dev_get_drvdata(dev); @@ -813,7 +812,6 @@ static int max98927_resume(struct device *dev) regcache_sync(max98927->regmap); return 0; } -#endif static const struct dev_pm_ops max98927_pm = { SET_SYSTEM_SLEEP_PM_OPS(max98927_suspend, max98927_resume) From patchwork Thu Oct 29 07:42:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865541 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA5F5C2D0A3 for ; Thu, 29 Oct 2020 07:59:22 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 349A820EDD for ; Thu, 29 Oct 2020 07:59:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="dL9GEntN"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="s9AEqi+R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 349A820EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9ABD416C2; Thu, 29 Oct 2020 08:58:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9ABD416C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958359; bh=K2KISi2QL+qHq6t2MZky1WAkI//prDYVpgHBYfvmjtY=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=dL9GEntNdLRMFK+mFMa7ldbBbRHECc5HExXRTHCr8lwaLvt842Jki5Wa/BhEiSfmN un/3LSVMnSpeA7QekYkyvdRVUNsksE8t6+IF53nKfHqL7GbsD4YMvBfEpeTlyZgxnO HROH7ZwhaVUHcHDZUxfaVAHlEd5dmkdpWZR0tO18= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 60FE6F8055B; Thu, 29 Oct 2020 08:50:26 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6EE4BF80217; Thu, 29 Oct 2020 08:46:27 +0100 (CET) Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BAABFF80095 for ; Thu, 29 Oct 2020 08:46:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BAABFF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="s9AEqi+R" Received: by mail-pg1-x543.google.com with SMTP id x13so1651080pgp.7 for ; Thu, 29 Oct 2020 00:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mKrg1J0hIePVXQXkTT7U+Izo63Hxn8pT7uIj0drTK1U=; b=s9AEqi+RnJT45EUtJzN3jm/eOmIcV0IVBleAkDOoNYGsnCjnnW6YdPdIVO0Scxv5y0 MBpwekR0XZgzAV+7dajkVS2yqEVs0WkSJpJYPH7/5nZ0yRFuAGk9qR2zRpDRkhFHFxle yLICcQSvl13x1F90Zftr5ixFbkkrGG7PC7TIXSE9Obordf7JcB1AZf7wNqeHN4EFuiK6 4IE9TN4CZ/5yWuhwft5yZdUn13Louv40BsJGLpsG6u20fU9lwU3ImMvXxdGwCenX6Cmf ab/k1JF7mMfAmNPRO60LVSEgxVq3EaVgRG56+oN4H8kbAMILYDE9u9z1M/G5cD1cpCNM PXVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mKrg1J0hIePVXQXkTT7U+Izo63Hxn8pT7uIj0drTK1U=; b=nXLv2b07sAOMla7QQ2DeZsX+w7JBQoRukf7xJv3c6uBGYr9pNad5uCuRpPLh0wzlGf k5mNJkbAu4wl6uPJZgGDTUTL1tb5BdODpW+5WBmOzw7JjLcOprYElzqeMoQRYGZ44yB1 uE0ZREbCX+aA+BE8DfWhusHHFqpr+gcO3kk0z10w2xXRvxUDk57x3lP2wGtfdOxoGQAG M+HCyUO/7rQTvFsGrgUGHNm/gI8YEeRqHOLBO6sZXtb0jmowwwWD980gQTEBlpTzYb6Q sHbSugtiZpUFbXzanmG8UJwLch493X89ZbR3QKGUtqAZE9DavB/qACnzCTavnCyC3jaV LL6Q== X-Gm-Message-State: AOAM53038v8MeiaHMZM4wpRhs+O2xab8yDzvB/cLmHJlluek7mLK5FWr I69nbpjiIrpAYV5h7F+cv6Q= X-Google-Smtp-Source: ABdhPJzh4iM4udtBfzaWyKyEdasZLfhkR4CpL3B+tUcGzTZNh1FCHDe9m6Nv+/LvQXQ5eDp9Y8FAKg== X-Received: by 2002:aa7:9f90:0:b029:164:bcf:de16 with SMTP id z16-20020aa79f900000b02901640bcfde16mr3303380pfr.3.1603957583129; Thu, 29 Oct 2020 00:46:23 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id j23sm1549643pgm.76.2020.10.29.00.46.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:22 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 23/25] ASoC: ts3a227e: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:59 +0800 Message-Id: <20201029074301.226644-23-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/ts3a227e.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/ts3a227e.c b/sound/soc/codecs/ts3a227e.c index 3ed3b45fa7ba..95d17cf7695a 100644 --- a/sound/soc/codecs/ts3a227e.c +++ b/sound/soc/codecs/ts3a227e.c @@ -334,7 +334,6 @@ static int ts3a227e_i2c_probe(struct i2c_client *i2c, return 0; } -#ifdef CONFIG_PM_SLEEP static int ts3a227e_suspend(struct device *dev) { struct ts3a227e *ts3a227e = dev_get_drvdata(dev); @@ -354,7 +353,6 @@ static int ts3a227e_resume(struct device *dev) return 0; } -#endif static const struct dev_pm_ops ts3a227e_pm = { SET_SYSTEM_SLEEP_PM_OPS(ts3a227e_suspend, ts3a227e_resume) From patchwork Thu Oct 29 07:43:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865549 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7D4DC2D0A3 for ; Thu, 29 Oct 2020 07:59:48 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EBA9420EDD for ; Thu, 29 Oct 2020 07:59:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="qCFu6Hgf"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="la+EKPpO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EBA9420EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5700916DD; Thu, 29 Oct 2020 08:58:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5700916DD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958386; bh=JyYltEeldd6vvU8hU6V9NcwApWjl5aUy8ZtJm0Y8v4k=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=qCFu6HgfU+fRlEYTqma3HOhJiXKRcKtziYuCIV4TUWkEVVy2+vO3SqawC4z4z+/U1 DaA6iiC24UIvjHTbi/Twt7dCXFX2Hw77iuU6k8tJY1Vq+//7XkDAcEvGLw0BkZ4Tbn XBrWpGscMv6jwWLbAnwVktI2I91jbbrOwei1k+d0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 516BCF80568; Thu, 29 Oct 2020 08:50:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 32471F80217; Thu, 29 Oct 2020 08:46:33 +0100 (CET) Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 74423F80095 for ; Thu, 29 Oct 2020 08:46:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 74423F80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="la+EKPpO" Received: by mail-pl1-x642.google.com with SMTP id r10so910763plx.3 for ; Thu, 29 Oct 2020 00:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hgMIOmWXJ9K7HGBgYjrpbZiO//zL6oSGlqytPgNqLQI=; b=la+EKPpO5ct1LEVZzBW/CKbqNSoVB9EBbcTwNa8NqrRac3AeP3kR+Dk/aBG6reR1h8 xjiNL7vgYbwfYhFetVIBRpoRPF5F3j8/+ZZjBxK++c82j1WsfQ5FOC1xL+J2zt3vP0aT +pA/adDZonS2lInCajm5fnXbXXfU3Okg3FAjaZuXP5h+4dDL7wGeDG3Bgp0cqSd6Qvb9 EU/P2/ga305d8J7R232rm+2FwBTx+oAuPlV5TSFXL0NbITEOOe1vNlpSJfdvh+H2WNes OFWmki3fx22iiVPzteIEbxAFlsFni476OFJOHllXXDEHpu3896MowAloE45R+0uRQJBM ZByA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hgMIOmWXJ9K7HGBgYjrpbZiO//zL6oSGlqytPgNqLQI=; b=cLfhxN6TNKN7OqXVgOnLHTpC3JogG6mCzhI/VctLUPEK8bbh19+IFk63rzx+4qjvwo /QRU8/9wyiL0h4IFNt58n3IBF/zzkoIP4N4cafC1JkvQ09Ygi2GoodwZG4n2CWdmtMEa 3QcbS72TqeiL+ltBg6i25zJYsqUMJFd53U032pAKvwnKJbpYS8n/EWpLF+YUvULgsjtI wGolRDhAauy3Z8Uim2YQzr2pZt878W3DkgjAbIIgus/druAN7Vw6cw+r8zZbOnyrvq0h Lv3yMFpnGK0n6lvWDV69nI7by8yhbthcH5KRdusjPj0Q8jbGef5GjnSuXeMMRp+z/gbH 3LvQ== X-Gm-Message-State: AOAM53158gP5BXwAOYH4Ue88f77TsyihtRjuhhGY5JygteBnzkRHPGkk xKVdfyYabESphzWQEY4z4ak= X-Google-Smtp-Source: ABdhPJwkeHvC8Be56N2RBknuP0794aGvpMrZ/6SsIv8vZ6hg6wh1m67mCsvKmNV5koJ9ORs1sunRZw== X-Received: by 2002:a17:902:ba98:b029:d6:6b56:7131 with SMTP id k24-20020a170902ba98b02900d66b567131mr2897800pls.9.1603957588657; Thu, 29 Oct 2020 00:46:28 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id z3sm1852081pfk.159.2020.10.29.00.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:28 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 24/25] ASoC: wm8994: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:43:00 +0800 Message-Id: <20201029074301.226644-24-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: "open list:WOLFSON MICROELECTRONICS DRIVERS" , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Mark Brown , Liam Girdwood , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/wm8994.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index fc9ea198ac79..9294ad06f76d 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -4656,7 +4656,6 @@ static int wm8994_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int wm8994_suspend(struct device *dev) { struct wm8994_priv *wm8994 = dev_get_drvdata(dev); @@ -4681,7 +4680,6 @@ static int wm8994_resume(struct device *dev) return 0; } -#endif static const struct dev_pm_ops wm8994_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(wm8994_suspend, wm8994_resume) From patchwork Thu Oct 29 07:43:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27AFDC2D0A3 for ; Thu, 29 Oct 2020 08:00:07 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7750021481 for ; Thu, 29 Oct 2020 08:00:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="hrvMGmvX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="vQuYh02Y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7750021481 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C573B16E8; Thu, 29 Oct 2020 08:59:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C573B16E8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1603958403; bh=XUoOP9xg7cSnAQdhwbP0Ez8487Pc2Qfpps7JP1j5vmU=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=hrvMGmvXK7BDUNPMNjnF2wJpoDad7eHYjrUz9Z/MSI8NxkZa2fhKdq9dlPBywn16o QKZt4ie7HTjfSd+njqnhUbQIIJBXVhpb5Rorl6KBG7xWGyj59ohMtvs6PM+iJAARLb 04dMIQRgUpEHPEdrn6OFz009H1rgmibrStx64v7o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C7543F80570; Thu, 29 Oct 2020 08:50:28 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E52C5F8020D; Thu, 29 Oct 2020 08:46:40 +0100 (CET) Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 00E1EF80095 for ; Thu, 29 Oct 2020 08:46:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 00E1EF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="vQuYh02Y" Received: by mail-pl1-x643.google.com with SMTP id z1so888311plo.12 for ; Thu, 29 Oct 2020 00:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YfuBmTvMg9MUKxvXP6ERdTgdyYc2LTvWkNxHfpwVAwc=; b=vQuYh02YfBH3Q+Cu83OMh2Zw+ddNnqCqUof8ZKGw2KlqXfKzFZgQ3CKG7n4D04vneY VIveM2fn6WoY+IaxjawuSGrxQac5F9E4ANI6VTeELqU82avE9JRXNCnS6LUEtmrH6thS 4OJMnyNpzOZU5Sd6GpLLXjgcS/OaTHx+D1IxWBTCTFNV6ZuPp5AUAZq+s4Se4VrpbL6i bJYrAPOy87/ZvYuzKR8N+zeFKT/b+nN02CPJqOMQkGz4XcOdkdss3dqVhGllpWfL8wm6 it6HxpZ336KvN6kbphzOfgTxQ/D14TG9gEOA68EaBOGJeHX9+Y4PKt13gw3gykmzb/+I yCNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YfuBmTvMg9MUKxvXP6ERdTgdyYc2LTvWkNxHfpwVAwc=; b=FGTyYD1lHIJ06bbuX7N8FDUBZxVXt6UfV51J5bIqo1XpsgvZr9W4xzmBbdbnd1jyK2 uGsIVepAYvIte5258Xvw+8cuCDZuCI+6QCH92qMr959vtcnA3W1sBMZ4WZF6B2+sUxEt m5E9J3w1tGhVBNzVp+ay+XU4T9XMhLE5y/4vGiuPh6PUCuEDJghAqm9n1qttQSqaygi6 XvhJ6K9NkvWiO+VJKMeDJ5lqOm2AD6MsbnDL8iElJT9+JMUSPhdsacSPLkF1YEsD9/wf PDhsvlLfFis+9+n1fT4oM3GygMgXoaJaBF1ddvMVg5ZpBPc/dpfFUXM/Z5f0Nc3H9NQg j1uA== X-Gm-Message-State: AOAM530r0wb9aCgioOWRVi8ZSDNHRAhputG23tJ0p4dCmunU1ny6f1a3 39dYWmXP/qXtgo6q1yXbvM0= X-Google-Smtp-Source: ABdhPJxf8E/8cKa23EfUte88B96UerFuRSXyvagG8YXcECd1HyINeZl2Eec9Usnqoet1h037d3io5A== X-Received: by 2002:a17:902:23:b029:d5:b88a:c782 with SMTP id 32-20020a1709020023b02900d5b88ac782mr2750215pla.5.1603957595930; Thu, 29 Oct 2020 00:46:35 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id s4sm1737502pjp.17.2020.10.29.00.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:35 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Subject: [PATCH 25/25] ALSA: aoa: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:43:01 +0800 Message-Id: <20201029074301.226644-25-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 29 Oct 2020 08:49:55 +0100 Cc: Johannes Berg , "open list:AOA Apple Onboard Audio ALSA DRIVER" , "moderated list:AOA Apple Onboard Audio ALSA DRIVER" , open list X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/aoa/fabrics/layout.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sound/aoa/fabrics/layout.c b/sound/aoa/fabrics/layout.c index d2e85b83f7ed..197d13f23141 100644 --- a/sound/aoa/fabrics/layout.c +++ b/sound/aoa/fabrics/layout.c @@ -1126,7 +1126,6 @@ static int aoa_fabric_layout_remove(struct soundbus_dev *sdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int aoa_fabric_layout_suspend(struct device *dev) { struct layout_dev *ldev = dev_get_drvdata(dev); @@ -1150,7 +1149,6 @@ static int aoa_fabric_layout_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(aoa_fabric_layout_pm_ops, aoa_fabric_layout_suspend, aoa_fabric_layout_resume); -#endif static struct soundbus_driver aoa_soundbus_driver = { .name = "snd_aoa_soundbus_drv", @@ -1159,9 +1157,7 @@ static struct soundbus_driver aoa_soundbus_driver = { .remove = aoa_fabric_layout_remove, .driver = { .owner = THIS_MODULE, -#ifdef CONFIG_PM_SLEEP .pm = &aoa_fabric_layout_pm_ops, -#endif } };