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,URIBL_BLOCKED,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 6ABEEC2D0A3 for ; Thu, 29 Oct 2020 07:46:04 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 E119B21531 for ; Thu, 29 Oct 2020 07:46:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jD1rqTy7"; 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 E119B21531 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lzxDqc1Q03KiR5/QzgD+Q3GlugS/S1zhJkyq5DvLtFU=; b=jD1rqTy77LFNMm5H/IjyHvp8/ ehJiadB5dRH3/cwBtMKdTWtXLagEDnjIWO/h2kZ404Qbxq2v8+qO1JmxQ5+EYY5ii41CImA/Oyzm4 ycnJyNyXewnaH4IbnOOgQYef5NEsRIv7NgS05ILyoUfjMIog9ObI5TjB44Tfxch5nkTUrqj19SduC OyFCZxiWuL2gbMkpJc14bmgoWqKdQjz8D5YYQjSdoT9c7hoDmkFgeHPTJbp7g84XOibIVarj+4JYO KjufIW90zSzPpt4QvGhdXPIj+QWA51SVuEee7ySO8wGWzLLWxsyGT8gR56LbLE1CxOpi4hrtUFvgw t08fMgX2g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY2c0-0007Qa-G8; Thu, 29 Oct 2020 07:44:44 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY2bt-0007Nu-Qd for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 07:44:38 +0000 Received: by mail-pg1-x542.google.com with SMTP id o7so1657246pgv.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=l3KMIcsaP7isPIzy3LEupOwaeVQInFvDH+TRqG4GeJelnNrgQNxEy2zQK6d8AJtHSn yzj37GRY8CMOBQeJyEUYk/S8I8pztpxB5eEyrN6ycfb4WVAA0FZPg/jmO+vPwIPh3iby bF7eyTNPiL1B7Jz1G0Wv8KBLr16Vm759qVl0q8lrwiWOEJnxm9o5AniMYRf4BKc5VN0g 9ZP2nPecnLh+ly5aPMngfq/BsuxWaUE3ab132U6zSIPGVmZmplKz3i9uekwgFxHnk+HE NW0AuELSWZP3iQMsKF81RUUhemCrVGc2y65Ut8K+iViRpwEznnnF0AePNhLmo7yF5Drx TRDA== X-Gm-Message-State: AOAM532Z0El8Bubuy4e01p+Gx53P8XEsBazjJJ6ROlsvWQLnxwVw5siv WOAdCgqWnjpW9JmN6v8x/9k= 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_034437_943479_7B385219 X-CRM114-Status: GOOD ( 12.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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) -- 2.28.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel