Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp268134pxx; Thu, 29 Oct 2020 02:02:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEy4bOb2djbLthQwCJODKaQN3zYZu3kU0VkfLCkOTs2OVjlqBBApwoNhd1VpGImk0HWD/8 X-Received: by 2002:a17:907:10cc:: with SMTP id rv12mr2951939ejb.451.1603962173459; Thu, 29 Oct 2020 02:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962173; cv=none; d=google.com; s=arc-20160816; b=ZvharRB05WCEnkkTJLQjrr0/5w9/uWkgtGdu6E+FNM01rNjwKQeQmFPP8Q42YUkb2h Gugq+ToT/IwqT7U/Zk+HiBmq7iZZrEBEyK+ghwUxh2FO/y5eGHZweYJ96ZTENQznySWE btBZhRAxzXl6I2MihC9HNRMue3VHAl5RGZWN8b568Lu783ZktYinXxj7ts6B9HvPG20i 3aSemJagv8KL0momGPa+3CjhqRtFPitp8l7DaQJWNoFC22pJoY1vD/deGpcw4EXUiT+t rf+E5T1ISA5XbMLRD5GJSIhIUPvpYxUwK8s2yQhIiCe+qFU4Ghc8K7m/y3bSQOVFqpY7 ZuQg== 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=Rg5J52NuyGCmmE1mtIcXPCwKs4Dspg6yOxJ+mqzq0jI=; b=cMRVXg7aeov9lqIl63UegoGSYjrF/tJL+owDeIHeCxRlc1RC6Qbl4PgOnpMPY+ykTh X1xFdjPEinM93sr1KW94cagae5t7gnyGoYvOWRN5MpecAdlBpP+nT8MzYxqDFynXO4FP xQMnt9U/SXw04XX6bB0q/2qI80ZIOh/X7ymWybYvAKXWytDeF0/VBZEHNHAl3cdIgIM8 HRPzwUwH3hmu6ejhj10OmSd1F4MaR4lgu8D6HrKISCWTtBtetaUfYHn/I+vBUKaaeKCf +gTGY8JxO9r3mYXsneDy/Q+caIzlhTKrCugJTVWMS7aHKdxYCJn9Eps5+BLi1O9+2+zs CqWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GcBbyaVp; 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 j8si1452669edp.407.2020.10.29.02.02.31; Thu, 29 Oct 2020 02:02:53 -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=GcBbyaVp; 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 S1730081AbgJ2Hpd (ORCPT + 99 others); Thu, 29 Oct 2020 03:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727352AbgJ2Hp1 (ORCPT ); Thu, 29 Oct 2020 03:45:27 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C75A2C0613CF for ; Thu, 29 Oct 2020 00:45:27 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id x23so906299plr.6 for ; Thu, 29 Oct 2020 00:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rg5J52NuyGCmmE1mtIcXPCwKs4Dspg6yOxJ+mqzq0jI=; b=GcBbyaVpviEKwJ5P+78y2ZosN9hkzhWGP4CYU5Eqo4qFc1b8GP0n1pmTj9W600GgYd +lp3Ubkqsyd7xVHssjHeZSkLaI/ap1lvsq6kOvDp5HchCO6sn1WsiXjqvwXEgpCySx7u AiT9YMXUmTzjGKZ1udDSXYBtk0lVmSH3/96Kx4fhDb737u+lduYuqqmDUZ/q40lvbrxZ vuKBGhRM3OhoB8+V3WF7+Jbh3BGT/dnx4H6LaJOPMNcWi9agRtfU4Hj9fLhiCI7u1Xiw cvQV4awVQzrUTcQ2HpV5calW5w0js2lzWvwwLjFAQCHLEA6RRfAmGNqLmWUYZWiETZms Umig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rg5J52NuyGCmmE1mtIcXPCwKs4Dspg6yOxJ+mqzq0jI=; b=QwRQUUYXQJogqNHlVLXY0/UaXKkD/v2MYM52XBDHTczBejhoKU+QlQJPkAeRDE1Wb7 H5ownJb41Wa0CQ2gy2q+lMUlRkDINYriB5qy3O/9sRFUGdDmya+zQ3GM8QBAEVhbARLp y5c0Gn169JXTPhbe/FOe5048IyZqDje0zL+nr3Giuq54Wz29GxWEDbi3c82+XhZHAvPY m403rfNTaEdG8ndX8IpHmD3AEZKMzBXn9JRhRgJ6M0ume2EW4rPi6E9nE1inSp43xcU1 IaQMXylVj1XpJfOQUkDemA75SUeu2yK3dAUaaA3V+QruHSQtt9MNs3efYZbnmL6f603a FVHw== X-Gm-Message-State: AOAM530/Ilw0EPKGOBIhaS1gOAEO4/o0gvFGdbLBu/bXaEypPt9xX5TY sA2zlHdWkjam74lJAwswW9c= X-Received: by 2002:a17:902:7882:b029:d6:38a2:8dee with SMTP id q2-20020a1709027882b02900d638a28deemr2791341pll.58.1603957527452; Thu, 29 Oct 2020 00:45:27 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id v3sm1709965pju.38.2020.10.29.00.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:45:27 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Cc: Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org (moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 17/25] ASoC: hdac_hdmi: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:53 +0800 Message-Id: <20201029074301.226644-17-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 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/codecs/hdac_hdmi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c index 2c1305bf0572..92111561a041 100644 --- a/sound/soc/codecs/hdac_hdmi.c +++ b/sound/soc/codecs/hdac_hdmi.c @@ -2026,7 +2026,6 @@ static void hdmi_codec_remove(struct snd_soc_component *component) pm_runtime_disable(&hdev->dev); } -#ifdef CONFIG_PM_SLEEP static int hdmi_codec_resume(struct device *dev) { struct hdac_device *hdev = dev_to_hdac_dev(dev); @@ -2049,9 +2048,6 @@ static int hdmi_codec_resume(struct device *dev) hdac_hdmi_present_sense_all_pins(hdev, hdmi, false); return 0; } -#else -#define hdmi_codec_resume NULL -#endif static const struct snd_soc_component_driver hdmi_hda_codec = { .probe = hdmi_codec_probe, -- 2.28.0