Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6722249rwp; Tue, 18 Jul 2023 05:07:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlFPB3gz8MfM+5+M/x3krEarFAZEaK7owUSOa8kxLwn7MzkAMiaBA542IZpJVTBBr2Jb0NJP X-Received: by 2002:a17:906:6496:b0:974:1ef7:1e88 with SMTP id e22-20020a170906649600b009741ef71e88mr12553110ejm.13.1689682061431; Tue, 18 Jul 2023 05:07:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689682061; cv=none; d=google.com; s=arc-20160816; b=EB84iJWAREtwRNezhO6Yl8T4Pdsv3QcpeQ+jRVLhQOSeMr4CLGPNQ1WfrGmxu0ejFD beT+xpUQ3NgtRYjnTZRRmT1alVLnMC06gmNnDsoKJhevcL6/Dho0nNvwFJJPOv9BR9v5 R5WeB9NRXjAk2hxenPSvDhEc5nEeaSMidArSevhpsyNU4TV8r4hpRCyPuRy5Rji/arEM 1qXgEIFK2U+kyb3emPGZ8ofxfCCa0sLDu3/x4Ie4pBqtv5a+ooNPil/i+bS7hRUYJ9eS wRHSfEtcaUL5nmVPov4bW8jyaNYLB+WQmO7dS6Q+hWnxRfoob+9lcNDrjqgz40ouptP5 1cow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=sFkovm95/NomURdsGPIAPD0hFqphahW/5HgAnQNo7ZA=; fh=WdNOVsp4IASk71jOkDEQgQY7YtqV/f641K/4mE9duUg=; b=d4c6268FSwZNJ1mSSt8NyWVRwEQv95a5hVh4/P+cyWlettYyz6TizpzPRl8FE+Jt5h PLIJVMWG1zVKL2jm0+ULdthQfBC12/6CrZxJN5wgWn5EDGbxm9hdI6G2q5xUyolpah7D d+0TV+VbvIdeFxoDfySv8DBD6DEkfvJVCVjHSfALXU9PnUcy9/Ffr3EXCqSGk5MGSeNb s0ch78DoelZlyleESVgcTWo7ca8HA/UzmWIxGNWv3satBtzvOAx8sNcv07GcP3BG0R/0 y9trUT6N+f8IppkGsDOJHrkqDBEMG/InldyaMZlw8j2bSNymOHyQU1leIklMqXiFRlSc nWDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=tq0JK9YF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r16-20020a170906351000b0099307f52a2esi1015863eja.1003.2023.07.18.05.07.11; Tue, 18 Jul 2023 05:07:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=tq0JK9YF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231444AbjGRMBf (ORCPT + 99 others); Tue, 18 Jul 2023 08:01:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbjGRMBd (ORCPT ); Tue, 18 Jul 2023 08:01:33 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 989B618E; Tue, 18 Jul 2023 05:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1689681689; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sFkovm95/NomURdsGPIAPD0hFqphahW/5HgAnQNo7ZA=; b=tq0JK9YFWofWplFZTCbhVKU/E4dCyURCFTQ+mh315DhR29FezVDG+WSSgKtpw2nIhggtQE c9lZeQCC+ShIJCgXLdnYzKas1cnC52mqtxqMY6I6t9RUUHTxyj4eM1JB2rg5hGXoNoPm8w PLzaccWdEndc+qisR8UbQytF3Typ3fo= Message-ID: Subject: Re: [PATCH v2 10/10] pinctrl: tegra: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper From: Paul Cercueil To: Thierry Reding , Jonathan Cameron Cc: Andy Shevchenko , Mika Westerberg , Linus Walleij , Balsam CHIHI , Claudiu Beznea , Geert Uytterhoeven , Wolfram Sang , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, Andy Shevchenko , Andrew Lunn , Alexandre Belloni , Len Brown , "Rafael J. Wysocki" , Gregory Clement , Sean Wang , Jonathan Hunter , Ludovic Desroches , Pavel Machek , Matthias Brugger , Sebastian Hesselbarth , AngeloGioacchino Del Regno Date: Tue, 18 Jul 2023 14:01:27 +0200 In-Reply-To: References: <20230717172821.62827-1-andriy.shevchenko@linux.intel.com> <20230717172821.62827-11-andriy.shevchenko@linux.intel.com> <20230718111143.000067dc@Huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thierry, Le mardi 18 juillet 2023 =C3=A0 13:38 +0200, Thierry Reding a =C3=A9crit=C2= =A0: > On Tue, Jul 18, 2023 at 11:11:43AM +0100, Jonathan Cameron wrote: > > On Mon, 17 Jul 2023 20:28:21 +0300 > > Andy Shevchenko wrote: > >=20 > > > Since pm.h provides a helper for system no-IRQ PM callbacks, > > > switch the driver to use it instead of open coded variant. > > >=20 > > > Signed-off-by: Andy Shevchenko > > > > >=20 > > No pm_sleep_ptr()? >=20 > pm_sleep_ptr() is pointless on this driver. This driver is selected > by > ARCH_TEGRA and ARCH_TEGRA also always selects PM. If I'm not mistaken, ARCH_TEGRA selects CONFIG_PM, not CONFIG_PM_SLEEP. Cheers, -Paul