Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp269589pxx; Thu, 29 Oct 2020 02:04:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSSvPxA2dXg6rqH5E9PY1EusTMczGj1CW+Yyj2FschMkcONlswYzsA7V6h7rd0My3UdRcu X-Received: by 2002:aa7:dd42:: with SMTP id o2mr2817185edw.53.1603962288369; Thu, 29 Oct 2020 02:04:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962288; cv=none; d=google.com; s=arc-20160816; b=emdCGdT39Gn9VD3VMid+vABKc8LPPWyExSO+CMB7ABsxmKBAcVB2cxwsgzVxH6E7ne f0eRAcqWsOz9Ydw3ceH+lnE3lN1Bb6F3VjIPGyTSgZqVdLJq0rDkSVPwqBJc2gGpZ/Ne CbnzK7XYKo2OfYaXTYuc+aiKXAH+Nks504+oayIQPd0wNO6p7qlzQxsNAzQuoEUMnC1T 364pwptjyN/HOThx4enzBTsqkNlkYkfcNMhvcRCKE4JjktrdnolvJSEEXUCKW5T8V48Q YuM9qaCBWdk8z8DcgJ55xMS6hPzzdtgiHKrO7UjN7fdnfwpLsF9Gv5+GkV4Fd8J2uZUh z6xg== 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=4m44KFmOk0eNak9iaIXUK5dhQnw6EEz9bAOQ7LV+kgQ=; b=dpW0CFQaK5/U07dOPFWzyWhcsSrgFj0FrUTa4x6Vlf4eJvAUolKat1elq5PciY5d4r 35owdDmrd+IqtnvoRZEu8Gm6NkIyFCFBeo5pHTaqaQJ+BWRgS2wpaCZsZYP6o93/rrGX vpuVoKaL7x9BOtyM+HqFeYShQ4GMnt/n/AC0bIilWTsD60lV5S+we01eTxslIRqQt0EI AwdCox1mVL+Z2Vo72Lf6qPlfnqIAqndEA9kvRhOKjA+wFzfY2HREAU7R9cgvwlhp1qi7 A09ZQ9ci2Az5/wdW8PCWo8gywHz4Wm2JyU/h9th4+ZDPnyKkdv1+2z1wCUQ2/7eat2mj XKkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z32XblI1; 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 b22si1404324eds.561.2020.10.29.02.04.26; Thu, 29 Oct 2020 02:04:48 -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=Z32XblI1; 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 S1732903AbgJ2Ho7 (ORCPT + 99 others); Thu, 29 Oct 2020 03:44:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726874AbgJ2How (ORCPT ); Thu, 29 Oct 2020 03:44:52 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B440C0613CF for ; Thu, 29 Oct 2020 00:44:52 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id x13so1635432pfa.9 for ; Thu, 29 Oct 2020 00:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4m44KFmOk0eNak9iaIXUK5dhQnw6EEz9bAOQ7LV+kgQ=; b=Z32XblI1UwfpGeY8IGKRoOCREAJBv4Wxmzx/PLQRnyG9iRBWogbO/1HMCzCTfeM0nn oOUKxXvcMs67QtS/qOVos3656g5Jru9a1AHxBB7pGVLZsWUcn/TZ0zZZ5Byco4SUgk0h vGFKD7MjWb3EH5ezFm9ywERMaTOFjjtZjCTN7NhYZE+RPKUCIMReGzXZZgNxr9CqBKMs WLBf3tg31g9bfiem+WrEr8Oy+AcIC95wj21pLn5u0J6QaPk92dPGhyS+JWobMgU7rCsS YN5VGPSvTqYgAvGoQZQgHylg7ECE9n9yJh3oNq4tF6RstGsRSVhUQn2FXlbQPw/lUoBk DIng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4m44KFmOk0eNak9iaIXUK5dhQnw6EEz9bAOQ7LV+kgQ=; b=oA7I83oKRmaHVmr9tWeZzD1k+j7/FmK31UVb1Prch4DMuIgfmJKTunS7JSfJjsYch0 LGm1KQzRXja6ZijxUuW6vq0RPMuoYcuHdvOLwIUweSNPNjOUBAzpl+9Ghmq5ZtUpmGxy y6N/jmi5FWiHZmEObMrdahPBXJR/UqpSUqR/PWqnM0TeryhPd2xM6bin8v7ZlmpWdi0i 3oO8qv7xelR0wRg44sa/sX2wJgcGfQg806Ok9QfdHvZZZwauAkzcWErCi0q0akMZaJgI BQCiptJnp0ij6SjenHmsiI6LeHMLCOZGV+zzor+xumeQUrnruOrUAjFxtFne/w2q1bYE 43Lw== X-Gm-Message-State: AOAM532vGmOY8OWDe/UxykoI8R4cVfUAhBbHyb+7Unptpo9plhgGz01y 9U7vwJJRCQY9VO9X4wvahPE= X-Received: by 2002:a63:490e:: with SMTP id w14mr2951099pga.275.1603957492230; Thu, 29 Oct 2020 00:44:52 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id s11sm1960068pjm.4.2020.10.29.00.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:51 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Cc: Olivier Moysan , Arnaud Pouliquen , Liam Girdwood , Mark Brown , Maxime Coquelin , Alexandre Torgue , alsa-devel@alsa-project.org (moderated list:STM32 AUDIO (ASoC) DRIVERS), linux-stm32@st-md-mailman.stormreply.com (moderated list:ARM/STM32 ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/STM32 ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 15/25] ASoC: stm32: sai: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:51 +0800 Message-Id: <20201029074301.226644-15-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 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/stm/stm32_sai.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c index 058757c721f0..40c9e554a3d7 100644 --- a/sound/soc/stm/stm32_sai.c +++ b/sound/soc/stm/stm32_sai.c @@ -245,7 +245,6 @@ static int stm32_sai_probe(struct platform_device *pdev) return devm_of_platform_populate(&pdev->dev); } -#ifdef CONFIG_PM_SLEEP /* * When pins are shared by two sai sub instances, pins have to be defined * in sai parent node. In this case, pins state is not managed by alsa fw. @@ -280,7 +279,6 @@ static int stm32_sai_resume(struct device *dev) return pinctrl_pm_select_default_state(dev); } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops stm32_sai_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(stm32_sai_suspend, stm32_sai_resume) -- 2.28.0