Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp268176pxx; Thu, 29 Oct 2020 02:02:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8vvt9DRYO+WK5m501bBPPu0QUqFcd8lY3pusEzp5kPGQlS0k/LB9btCMwVJbJ0P6H5G8a X-Received: by 2002:a17:906:b190:: with SMTP id w16mr2977481ejy.53.1603962177132; Thu, 29 Oct 2020 02:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962177; cv=none; d=google.com; s=arc-20160816; b=gAvlaP9Pzt9bnKQXze4cRHKnPV1TPVuQJ1JinukgkTyDyZL4ANFMX8+ZUuIp2FExOI I+kfJfFEXclBz0aCt3zZSQsPjX5PS3xD1obQEbW+kom1WyMw5HC3Iq1+C0bzZ07dDANU GyJ4oOXelWKsi9yLNFGx6lrLWPWfbT8Hz6jznOxkkypqxg0X9cJul7yniAw2dCMF9NsB eIbD2bSzTMWCdt/jOQpSaCeAbdLeQjvwS9bZ0XT29jd1kBjgxx3fYKd54zWj05to+pOZ rI9X1bsOijXPYhI/g9lVWnSjM9J0CCOwuTnDiwPKimKq7C0imcqHREIXGufF01Jgh7xu 8n+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n4P04Jz1B6kfqdzGvKKnIFdWyM97aAtPxWHOKKsnz2Y=; b=I//rl94k4aiiw60Z4hJk4XaKchTKHd1mWCvZ+WmsS4HV0JHewUHXNQp3ccEP8l2gRD 4rw+MYI999MTIXXy+gwLnFkzRWB4cGoOLZYwOY5JcX8wFgub+h+Ikq5zT0MDqK6fIELE 3Eg3q4I0xK0ZlJKO/kvBLA9s5JLxIE+Yrhlsst2HH0RNsw0ZU4HEJtaf3djVewo9nbl+ FCMdPERQYfgXKoX9hDr6rYjj5M28ff5ZQJoyIVFCwb8sAC2ZWvlL/MTvllLd3rc2L651 yQGoJbtbHHsNjsAvWX2VHuxY8R7OsHO5fbde1dydhupL/wrH2iuESkimmR3/5bTeJNuG VtCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SwP+WbU5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l27si1234563ejg.591.2020.10.29.02.02.33; Thu, 29 Oct 2020 02:02:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SwP+WbU5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731446AbgJ2Hpj (ORCPT + 99 others); Thu, 29 Oct 2020 03:45:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732734AbgJ2HoQ (ORCPT ); Thu, 29 Oct 2020 03:44:16 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27A99C0613CF; Thu, 29 Oct 2020 00:44:16 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id w65so1659757pfd.3; Thu, 29 Oct 2020 00:44:16 -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=piiVLg+kZE4D0gzrOdld5I3p2pv2UYXtbOqJSszMlJlKu+qQne1On+D27YHrEEVqjl zAM50oOi8ka+I4vHGjSWuyPzZ2SG6SHYDWVqgQfPf70C2CYsGds+MA/RZiN6J2N+H0Gr H8ObgqBjTPKF/AiXMEdt3bxjmQ2dzqdJuwgCjj+tMJJ05B/LNbBjJ+vGuXeMxcsyYjpy ocDVNRpgBTLcRKewBq7M3p1kjQOox9g1md2s2hoekWrAVdY+C7wjEvJ0Q8NdIMuHqCbl TzaMDwE/AS7lcgAx5prdAgj7YVCPpV9aiGYkiaf9hUJwSU9dN4pHP3/3RmLms0Vp2dGE bXaA== X-Gm-Message-State: AOAM531YFvOLTH4rXIdZm1R1h2b79aP4o+2aSPgq+gnQ27AOPQwGAOnj llHXh8uPFuqWIS/S9pbv6Yg= 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 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 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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_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, -- 2.28.0