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: 310612 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: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: 310611 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: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: 310610 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: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: 310609 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: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: 310608 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: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: 310607 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: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: 310606 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: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: 310605 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: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: 310604 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: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: 310603 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: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: 310602 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: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: 310601 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)