From mboxrd@z Thu Jan 1 00:00:00 1970 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.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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=ham 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 895B3C55178 for ; Thu, 29 Oct 2020 07:48:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 452652076B for ; Thu, 29 Oct 2020 07:48:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QXaJtgDU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730309AbgJ2HsT (ORCPT ); Thu, 29 Oct 2020 03:48:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732205AbgJ2HoM (ORCPT ); Thu, 29 Oct 2020 03:44:12 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75162C0613CF; Thu, 29 Oct 2020 00:44:11 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id w65so1659588pfd.3; Thu, 29 Oct 2020 00:44: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=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=D+WJM38rXTiivTICdmaQWhaBxpSFZOTARcdyPRAQQ8S6ioXEu+h/1XXBgUf+h/uhlS uv2EW3IW2fnQgXWtoKQH7DwMiO8sLYioK/5z6LO481Bdl2KAX+Kekd4bXVFQD4tHdcaA FIBy7gwCMX8GfEMrJwFPda1voUVtV8Xy1ya5VjoNh/GXdorP4bxQlbLsmv3HWSajGvA0 /2za9e5h7LP7Ttj4iaPl9Zzyx3MrQ3GPb06D0ZEdrFmC0Ca6eyqucrGdlZxp/MWYgOFK X4cH6ITZQq5crhRMH+UM5eAKvuYAzclniFc3bkM7QDcCQ9lCVU+t9xYHEVnod2G3kyLW 6lIA== X-Gm-Message-State: AOAM532S3xPvkYb4GG06oN72wPsaA7pOoC6eY26QXwtuN970CxJAgSDg B02LCAr6DW7iP5yV+Nc5aeU= 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 Cc: Liam Girdwood , Mark Brown , Thierry Reding , Jonathan Hunter , alsa-devel@alsa-project.org (moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...), linux-tegra@vger.kernel.org (open list:TEGRA ARCHITECTURE SUPPORT), linux-kernel@vger.kernel.org (open list) 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org 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, -- 2.28.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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 Content-Transfer-Encoding: 8bit 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, -- 2.28.0