From patchwork Fri Oct 4 09:41:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 13822005 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3497FCFA74C for ; Fri, 4 Oct 2024 09:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=I8Zzkba5ZdmJLsDWqDTFmaaBOKR+Z24FRScc1BCJt54=; b=XQLBtY5wyZYURe90hbZgeIgNsm 1cGWAVkrxbhk3YiWpvcUBs2QxBsu7hAHe4GbHcJH4Rvie2n07LTvdZPjJL2Cvvc1sKVVBxZuSEktR BqxDAvmXD7Y8cB3TUdNBGwpB6gyZ1D2xDS6GEUli70XRf5XrHySFnGNl07xq/y4lGhIGQ5nrnloR6 2sg3it9DtVFsKo4hHciHzuoT/HnTfxE0ex9+MEdgpXuCPD1CbhWwotk0xMWLP21NpDj94zIkMMCiz /fG94y9Gn3WOZz19F06mFxl6ExrHF7nLyzA6QTaoSLjWKSqyUErFJGwp6VQR4GhdTdD4Vd2xDWN+4 68ORUPHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swer7-0000000Bgp5-2Naz; Fri, 04 Oct 2024 09:44:13 +0000 Received: from mgamail.intel.com ([192.198.163.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sweoQ-0000000BfmG-3edc for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2024 09:41:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728034887; x=1759570887; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vBw/GQefa64DRp8NDioQypMCDfwKLCufkrK3JfG6lus=; b=DsXgJefoHgTBA8zAxW3Tho1xfQMos5JlbKz15JxdtuuhfOXiGIfVOFP2 6FRzPmTlUQIl+rB2Vh/3DHeexwub72Roq6CVMwVMjLZyCIsnFuU2NsyNv J2FEAqT4RtJLD8u6lFbDsyUDR5q+wHsemKdDEPqnKBVJ1nGRPcdSUKucH MzsOmuFE+eB+OsbJxv15C0pOazy9NY1S1LpGdku0bYD2DYlMSouDwZVP9 Eu9pF/BHFYPCLst/AxSeNW2mee3dQ9yZznrN4rbb+h6zrZm0KiX+xu3n1 oVdBOyMWsPz1H3Cvb01hednRjn6zk4FU60LoNWSfANHglWcFDs+HNSgXE g==; X-CSE-ConnectionGUID: y/+gtbFUQ/m6qLcck1Tbuw== X-CSE-MsgGUID: p0NdohmLQDCNjjAuicAQUA== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="37856243" X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="37856243" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:27 -0700 X-CSE-ConnectionGUID: b2wFGtwkQAaI954hcfHTVA== X-CSE-MsgGUID: +ueu421NRTWNaE2iatHzTA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="74331936" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:24 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id B1FFA1203FA; Fri, 4 Oct 2024 12:41:22 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.96) (envelope-from ) id 1sweoM-000TYa-2J; Fri, 04 Oct 2024 12:41:22 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo From: Sakari Ailus To: Alexander Shishkin , Maxime Coquelin , Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 15/51] stm class: Switch to __pm_runtime_put_autosuspend() Date: Fri, 4 Oct 2024 12:41:22 +0300 Message-Id: <20241004094122.113606-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241004094101.113349-1-sakari.ailus@linux.intel.com> References: <20241004094101.113349-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_024127_070058_C5FD5709 X-CRM114-Status: GOOD ( 11.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pm_runtime_put_autosuspend() will soon be changed to include a call to pm_runtime_mark_last_busy(). This patch switches the current users to __pm_runtime_put_autosuspend() which will continue to have the functionality of old pm_runtime_put_autosuspend(). Signed-off-by: Sakari Ailus --- drivers/hwtracing/stm/core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c index cdba4e875b28..229546270bf4 100644 --- a/drivers/hwtracing/stm/core.c +++ b/drivers/hwtracing/stm/core.c @@ -660,7 +660,7 @@ static ssize_t stm_char_write(struct file *file, const char __user *buf, count = stm_write(stm, &stmf->output, 0, kbuf, count, NULL); pm_runtime_mark_last_busy(&stm->dev); - pm_runtime_put_autosuspend(&stm->dev); + __pm_runtime_put_autosuspend(&stm->dev); kfree(kbuf); return count; @@ -680,7 +680,7 @@ static void stm_mmap_close(struct vm_area_struct *vma) struct stm_device *stm = stmf->stm; pm_runtime_mark_last_busy(&stm->dev); - pm_runtime_put_autosuspend(&stm->dev); + __pm_runtime_put_autosuspend(&stm->dev); } static const struct vm_operations_struct stm_mmap_vmops = { @@ -1083,7 +1083,7 @@ static int __stm_source_link_drop(struct stm_source_device *src, stm_output_free(link, &src->output); list_del_init(&src->link_entry); pm_runtime_mark_last_busy(&link->dev); - pm_runtime_put_autosuspend(&link->dev); + __pm_runtime_put_autosuspend(&link->dev); /* matches stm_find_device() from stm_source_link_store() */ stm_put_device(link); rcu_assign_pointer(src->link, NULL); @@ -1181,7 +1181,7 @@ static ssize_t stm_source_link_store(struct device *dev, err = stm_source_link_add(src, link); if (err) { - pm_runtime_put_autosuspend(&link->dev); + __pm_runtime_put_autosuspend(&link->dev); /* matches the stm_find_device() above */ stm_put_device(link); } From patchwork Fri Oct 4 09:41:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 13822018 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88E45CFA74C for ; Fri, 4 Oct 2024 09:48:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cBpon3/Bod5dXEmh3xr/seMnFanxyA0HGNYjsMu1hsg=; b=dNY7I0PFXClgYBRmZixYklfgyI f0ADwBaGAbS6xpuRU07errKAzpzFkaRwdTExNZxotO2IyPuBjAOCacpGUVPo1Y/zWBKGPBVyV+7dA QxjvmEZukJFm1pQLmIkHD2XumRs9Wy+HLrQxWehjEwwhXK3ATuV8Lj25ubYLodT+sw2KOE8vKvZBD UXH9OhY6QV7kHsGP4COxOR6FiMBjgRKaC3TTEMLjy85DZ0orEtCHVocDnkBAiJ5Q9fh7kQuRapaD9 rRDAXRSW7/7u/yXYyqrdThFAb1rXUHybwLFJV3cDkXxP9x7rkGwvQWkcBGNPulPDTsAsPDXEY11WY cRLkwiDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sweut-0000000BhsJ-2u5g; Fri, 04 Oct 2024 09:48:07 +0000 Received: from mgamail.intel.com ([192.198.163.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sweoX-0000000Bfqg-0rGA for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2024 09:41:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728034893; x=1759570893; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=n4KF3dBjJucW5uKA3f4JXugGchbXk/nbttaph2dNEeU=; b=VqbpC1YilYbxjKYQGUFBm0eDK6iNFRFgAR9oiCTaLZBG839SbiAwRSbY GgdEavC/ZdVSbBRDLmbcD5KBIe/n8scW9lcbLFqO+hxtND7vNwc5kvnSh XsBi33QWksgMILiMFkTBrSdktsqr3ssANjmpGnJQT3b8hvJK3dlOJga+s IMBfRSk2ukVCUds/LjP9zZrXDp6nsVfWunn+PFZUPwrMlLkhuLWIvZHKG 5HDSiuD8mD/K7K4uMTOwuptTzbGkrhJ+oU+Ivo8ZTN+eEUG2ssL9hpyGl 1tb4awVvjYqGrF/Lldl73KetxB38+x27JnXXU7MA50yjt7UMJLTDwFrGq g==; X-CSE-ConnectionGUID: Z1iEGkguSCWnAATTXsI0Sw== X-CSE-MsgGUID: ASDOQnQqSFup2994cG2Ikw== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="37856290" X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="37856290" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:31 -0700 X-CSE-ConnectionGUID: Otx8UPjeS0WU/6ygcjZ9hQ== X-CSE-MsgGUID: nyDUhajAS4aDSGF+jSAM8w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="74331943" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:28 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 45283120F46; Fri, 4 Oct 2024 12:41:23 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.96) (envelope-from ) id 1sweoN-000TaV-0r; Fri, 04 Oct 2024 12:41:23 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo From: Sakari Ailus To: Will Deacon , Robin Murphy , Joerg Roedel , Jason Gunthorpe , Pranjal Shrivastava , Rob Clark , Georgi Djakov , Sakari Ailus Cc: linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev Subject: [PATCH 22/51] iommu/arm-smmu: Switch to __pm_runtime_put_autosuspend() Date: Fri, 4 Oct 2024 12:41:23 +0300 Message-Id: <20241004094123.113725-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241004094101.113349-1-sakari.ailus@linux.intel.com> References: <20241004094101.113349-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_024133_518274_D3C3B49C X-CRM114-Status: GOOD ( 11.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pm_runtime_put_autosuspend() will soon be changed to include a call to pm_runtime_mark_last_busy(). This patch switches the current users to __pm_runtime_put_autosuspend() which will continue to have the functionality of old pm_runtime_put_autosuspend(). Signed-off-by: Sakari Ailus --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu.c b/drivers/iommu/arm/arm-smmu/arm-smmu.c index 8321962b3714..cad02d5dc6d2 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu.c @@ -79,7 +79,7 @@ static inline int arm_smmu_rpm_get(struct arm_smmu_device *smmu) static inline void arm_smmu_rpm_put(struct arm_smmu_device *smmu) { if (pm_runtime_enabled(smmu->dev)) - pm_runtime_put_autosuspend(smmu->dev); + __pm_runtime_put_autosuspend(smmu->dev); } static void arm_smmu_rpm_use_autosuspend(struct arm_smmu_device *smmu) From patchwork Fri Oct 4 09:41:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 13822017 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BB93CFA74C for ; Fri, 4 Oct 2024 09:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=onr9VVpVq/ClKFQVnFQ6WRZ/b36A4C7w5fYMf+ZYG8Y=; b=JLYvTjq1nhDSLByMLiqKrbrJ9O S0rFfeomZrWBn9Yfudq/3xuhxkCpx1syY+KNVs1Q2QiEVz8bC7GNvoVOwBZQPVCeOJ346f8jEqdcA gjOVIbCzYGoqDELOfiHMzfc6BPN95lVxHO+NcBAfPew4pnE49q7H/lTV9VrtK8yL6tVPEYesn4QWr eb2LThkoh3uevc6IzjGF+UyE9UI4obMG/wKhX2Z+wWjLgXfEPP4dVVyvwXdVZM9TzDJaZR13FQ+MW rwm2s36wPUo/oDZ3ymVmbqSnSodE44vkuPtI5eoszFgU3xV4pqGsC8nBhAALHL3GD51HjPW0x2VoR vs1ze3qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swetf-0000000BhZz-0Z81; Fri, 04 Oct 2024 09:46:51 +0000 Received: from mgamail.intel.com ([192.198.163.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sweoW-0000000BfmG-0tSJ for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2024 09:41:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728034892; x=1759570892; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Sj6wfRnJaMWUuA0Henh0phB6SLngxQVZJUMVNre6pI0=; b=JUplh3PhHFTOgX8TEBKKrSlnGIyl6d+ObUQm6+lwK52lzHdzldfS5Qxe q+zd7AC1WNnX3ob1sLDa1GsymoLSNqYPjro15y2cWOCVtmMsAH61kBH++ KWCY0wF/oK8iR5pZrA5PBt5WmQFuvEBQ4TMZ1janUFR3KAJr4SwiykAnW jvotuRnwQWaFOBY6Q3vN5uu6fgKrWA8Hd0lW6sg2NEnNHEFHsPzXDXc6a w0lHhkVrJ2+oWgHQtywyhe3IkXTWnf6Czf1WVe725X5i6GuDBi86wz/94 SaTTCZnKrLSE7ftsfjn4GNZtY7Fovjxd1M1gkuUBJ53kf4rh07d5dmYuL Q==; X-CSE-ConnectionGUID: sXuEPsl0QLmhvmmbV6fGNg== X-CSE-MsgGUID: nmXHF7bgQ1OXXx5+xO2YPg== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="37856282" X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="37856282" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:30 -0700 X-CSE-ConnectionGUID: tusglXIpTJW41+eHksuY0g== X-CSE-MsgGUID: ymmBaPDBSbKX0fZEdgPF3A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="74331944" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:28 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 584FD120FEC; Fri, 4 Oct 2024 12:41:23 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.96) (envelope-from ) id 1sweoN-000Tam-18; Fri, 04 Oct 2024 12:41:23 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo From: Sakari Ailus To: Thomas Gleixner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH 23/51] irqchip/imx-irqsteer: Switch to __pm_runtime_put_autosuspend() Date: Fri, 4 Oct 2024 12:41:23 +0300 Message-Id: <20241004094123.113742-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241004094101.113349-1-sakari.ailus@linux.intel.com> References: <20241004094101.113349-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_024132_397885_16D3FACD X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pm_runtime_put_autosuspend() will soon be changed to include a call to pm_runtime_mark_last_busy(). This patch switches the current users to __pm_runtime_put_autosuspend() which will continue to have the functionality of old pm_runtime_put_autosuspend(). Signed-off-by: Sakari Ailus --- drivers/irqchip/irq-imx-irqsteer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-imx-irqsteer.c b/drivers/irqchip/irq-imx-irqsteer.c index 75a0e980ff35..f8b9462ae968 100644 --- a/drivers/irqchip/irq-imx-irqsteer.c +++ b/drivers/irqchip/irq-imx-irqsteer.c @@ -84,7 +84,7 @@ static void imx_irqsteer_irq_bus_sync_unlock(struct irq_data *d) { struct irqsteer_data *data = d->chip_data; - pm_runtime_put_autosuspend(data->dev); + __pm_runtime_put_autosuspend(data->dev); } static const struct irq_chip imx_irqsteer_irq_chip = { From patchwork Fri Oct 4 09:41:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 13822016 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2AC03CFA753 for ; Fri, 4 Oct 2024 09:45:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=O2dHuYhw3iP86OtXvHFtgEPtzJSdwQ6v6J5tO3itzz8=; b=DjOBB0Da3h5QjOsOSdept4ZWOQ 7RHiACMUZarn2VfQe6EcjR7NkStuAgUdFy0oTl0DQiHi4iorbV0YTzaSuDpOYHVGib52sictIIjQG UpkYWAN4u5kB2Qizia5XKWnypQxGOIpsonwTzq8jOHN3ZtmjMh0zC78BZizE1TmW36uRyJIsikfkE X1fcV0rCm6LmeddNTmVT9EMXvVMwpw+fsPWhmw5Eusc9GdeTs/3o4jZRHYFAvNu44hzuQ7EWWXASt BLF7Xd8i+Pjg2ud33ClIIInPQEZPf//ZwYFHhgWKkcVOS3JUKJQnWXPpkbfqDntQzjy9mexyo4plN A8/RG4/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swesM-0000000BhCl-2NKq; Fri, 04 Oct 2024 09:45:30 +0000 Received: from mgamail.intel.com ([192.198.163.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sweoV-0000000BfrQ-01jr; Fri, 04 Oct 2024 09:41:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728034891; x=1759570891; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=R7CeySgpEEmyAbh0ZJribSgpdJ/nWxXYO1wHHruXfQQ=; b=gtNXkI5KdknIXHgTS9wMVU/wWOwDk2nPN8Zb93ZA2LdN7WQ6rAUPbeS/ 5LAfMlQbdz6k6mbJpgsvBizG8hY+xhLprmIVHhDXW553lTWxEKqobQOpC lGDOAWVMZ5kI6tVPrzcCHVJ5HTfNgJy5Ds2szHWhupwBIdILqKsMVT0kK pm9CFGjm4i/DlB52s0NJBAXLft80YxF+bH3ZO5Xk3mVkjf0sn8sI8cgQH weZMVXOfKAqNb9dtVF2CcZ/7KgljeymsP+XcEDUfOP4P05g91lQYnsLKr lqxlmhNxwtuvXNTpY8ZTEPhtbAe8HCxCJbPODJBOOLfHSEHsFI9qni001 A==; X-CSE-ConnectionGUID: 483S1wVzTdeOEcgf3uBcYw== X-CSE-MsgGUID: DEtysswWSNubi1PJ7pgckQ== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="37856279" X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="37856279" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:30 -0700 X-CSE-ConnectionGUID: ISX+JtaVSxG1ccZF6U1u3Q== X-CSE-MsgGUID: MpmVMbnURG20T9ZpfFhmTA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="74331945" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:28 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 6C84B121008; Fri, 4 Oct 2024 12:41:23 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.96) (envelope-from ) id 1sweoN-000Tb3-1N; Fri, 04 Oct 2024 12:41:23 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo From: Sakari Ailus To: Jassi Brar , Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 24/51] mailbox: mtk-cmdq-mailbox: Switch to __pm_runtime_put_autosuspend() Date: Fri, 4 Oct 2024 12:41:23 +0300 Message-Id: <20241004094123.113759-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241004094101.113349-1-sakari.ailus@linux.intel.com> References: <20241004094101.113349-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_024131_183171_50913C96 X-CRM114-Status: GOOD ( 11.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pm_runtime_put_autosuspend() will soon be changed to include a call to pm_runtime_mark_last_busy(). This patch switches the current users to __pm_runtime_put_autosuspend() which will continue to have the functionality of old pm_runtime_put_autosuspend(). Signed-off-by: Sakari Ailus --- drivers/mailbox/mtk-cmdq-mailbox.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c index 4bff73532085..180906761eda 100644 --- a/drivers/mailbox/mtk-cmdq-mailbox.c +++ b/drivers/mailbox/mtk-cmdq-mailbox.c @@ -397,7 +397,7 @@ static int cmdq_mbox_send_data(struct mbox_chan *chan, void *data) task = kzalloc(sizeof(*task), GFP_ATOMIC); if (!task) { - pm_runtime_put_autosuspend(cmdq->mbox.dev); + __pm_runtime_put_autosuspend(cmdq->mbox.dev); return -ENOMEM; } @@ -447,7 +447,7 @@ static int cmdq_mbox_send_data(struct mbox_chan *chan, void *data) list_move_tail(&task->list_entry, &thread->task_busy_list); pm_runtime_mark_last_busy(cmdq->mbox.dev); - pm_runtime_put_autosuspend(cmdq->mbox.dev); + __pm_runtime_put_autosuspend(cmdq->mbox.dev); return 0; } @@ -495,7 +495,7 @@ static void cmdq_mbox_shutdown(struct mbox_chan *chan) spin_unlock_irqrestore(&thread->chan->lock, flags); pm_runtime_mark_last_busy(cmdq->mbox.dev); - pm_runtime_put_autosuspend(cmdq->mbox.dev); + __pm_runtime_put_autosuspend(cmdq->mbox.dev); } static int cmdq_mbox_flush(struct mbox_chan *chan, unsigned long timeout) @@ -535,7 +535,7 @@ static int cmdq_mbox_flush(struct mbox_chan *chan, unsigned long timeout) out: spin_unlock_irqrestore(&thread->chan->lock, flags); pm_runtime_mark_last_busy(cmdq->mbox.dev); - pm_runtime_put_autosuspend(cmdq->mbox.dev); + __pm_runtime_put_autosuspend(cmdq->mbox.dev); return 0; @@ -550,7 +550,7 @@ static int cmdq_mbox_flush(struct mbox_chan *chan, unsigned long timeout) return -EFAULT; } pm_runtime_mark_last_busy(cmdq->mbox.dev); - pm_runtime_put_autosuspend(cmdq->mbox.dev); + __pm_runtime_put_autosuspend(cmdq->mbox.dev); return 0; } From patchwork Fri Oct 4 09:41:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 13822019 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C5571CFA74C for ; Fri, 4 Oct 2024 09:49:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+d7bAxf15dHkNq2AwcsfiCY+IqHeVzzaIB4QrSFtgzY=; b=rzSYU6jKAXjlS86yf6WrCFqNoB BBdv48XloxE2vFt1MorfzW0arEb7RxI0VdG7MIiCMXB3W3UK53Wxisi1uGxCMaja0FQDcpLlW/z5e kaWHjQkwcRMigeV+6+ILRYC98eUFBQ8KfIB91S0pRV9uOAgDBe48f6uzWqyAcxU461ayCyb7tEaEm 9+A6shHg+q+Pkrlj6+V9eHesXLybWZaQ5UQJMQRbMnszNANT/9xvFi6xQv4syWmS6rOAW2A10iT/c krxTfTQ8gb6crTlT+s8lA62PbKXGeDBiMwvclD0StqiObgUSKgkrtemHB/B0QEwOShbI6K1zmN9Qj lvpH+ACg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swew7-0000000Bi8j-44E7; Fri, 04 Oct 2024 09:49:24 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sweon-0000000Bg16-1PQc for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2024 09:41:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728034909; x=1759570909; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=caxOy/jgffzaiTHudoOppz/Vo2lQ194SRaTCVSsthec=; b=jgGOwyHmtyK60ObKEqiAwPmt7G+ZTdlXEWvLwwTZ+bENgmLLh5Xc5Pir akj2rnnWCvnxErpXYAMyXLlfa5FdJCXVGxmDjp+hduX0KI2BzgPGSDy/d aFiSrUOc9c8yhE7VeBT33bF4eLozT9MmsZmLjwmGe+fmxtICECRULKf5c 8xkL5RvKiYzAKexiDUdSpa/vISA0qHfKOSXCzKUj8w1iUyNHZR3Ei3IBr VImpvMYRHBtQxmDpEkeS+MSP4FaPSrTWROA58XmQ8PTXmPNM1xKlnhG8v 9DLUFp/n4DF/QPo2iKnaip4Dp87A+hxjBSDulgcWx9SiB/hGF/eDArxaZ Q==; X-CSE-ConnectionGUID: f4UBc0jfR72VlySVzzAnIg== X-CSE-MsgGUID: Nspe1Ap2SgmEVFks5Lt9Fw== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="27136199" X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="27136199" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:49 -0700 X-CSE-ConnectionGUID: CDNy/UxyQ5yR4P99lTb9gQ== X-CSE-MsgGUID: Ix2TPCorRyiHZW4/Nle32g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="105492071" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:47 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 92DB211F727; Fri, 4 Oct 2024 12:41:44 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.96) (envelope-from ) id 1sweoi-000Tec-1m; Fri, 04 Oct 2024 12:41:44 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo From: Sakari Ailus To: Liam Girdwood , Mark Brown , Maxime Coquelin , Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 37/51] regulator: stm32-vrefbuf: Switch to __pm_runtime_put_autosuspend() Date: Fri, 4 Oct 2024 12:41:34 +0300 Message-Id: <20241004094134.113980-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241004094101.113349-1-sakari.ailus@linux.intel.com> References: <20241004094101.113349-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_024149_409729_A195FC51 X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pm_runtime_put_autosuspend() will soon be changed to include a call to pm_runtime_mark_last_busy(). This patch switches the current users to __pm_runtime_put_autosuspend() which will continue to have the functionality of old pm_runtime_put_autosuspend(). Signed-off-by: Sakari Ailus --- drivers/regulator/stm32-vrefbuf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/stm32-vrefbuf.c b/drivers/regulator/stm32-vrefbuf.c index 40855105dd33..870e568e5de9 100644 --- a/drivers/regulator/stm32-vrefbuf.c +++ b/drivers/regulator/stm32-vrefbuf.c @@ -68,7 +68,7 @@ static int stm32_vrefbuf_enable(struct regulator_dev *rdev) } pm_runtime_mark_last_busy(priv->dev); - pm_runtime_put_autosuspend(priv->dev); + __pm_runtime_put_autosuspend(priv->dev); return ret; } @@ -88,7 +88,7 @@ static int stm32_vrefbuf_disable(struct regulator_dev *rdev) writel_relaxed(val, priv->base + STM32_VREFBUF_CSR); pm_runtime_mark_last_busy(priv->dev); - pm_runtime_put_autosuspend(priv->dev); + __pm_runtime_put_autosuspend(priv->dev); return 0; } @@ -105,7 +105,7 @@ static int stm32_vrefbuf_is_enabled(struct regulator_dev *rdev) ret = readl_relaxed(priv->base + STM32_VREFBUF_CSR) & STM32_ENVR; pm_runtime_mark_last_busy(priv->dev); - pm_runtime_put_autosuspend(priv->dev); + __pm_runtime_put_autosuspend(priv->dev); return ret; } @@ -126,7 +126,7 @@ static int stm32_vrefbuf_set_voltage_sel(struct regulator_dev *rdev, writel_relaxed(val, priv->base + STM32_VREFBUF_CSR); pm_runtime_mark_last_busy(priv->dev); - pm_runtime_put_autosuspend(priv->dev); + __pm_runtime_put_autosuspend(priv->dev); return 0; } @@ -145,7 +145,7 @@ static int stm32_vrefbuf_get_voltage_sel(struct regulator_dev *rdev) ret = FIELD_GET(STM32_VRS, val); pm_runtime_mark_last_busy(priv->dev); - pm_runtime_put_autosuspend(priv->dev); + __pm_runtime_put_autosuspend(priv->dev); return ret; } @@ -219,7 +219,7 @@ static int stm32_vrefbuf_probe(struct platform_device *pdev) platform_set_drvdata(pdev, rdev); pm_runtime_mark_last_busy(&pdev->dev); - pm_runtime_put_autosuspend(&pdev->dev); + __pm_runtime_put_autosuspend(&pdev->dev); return 0; From patchwork Fri Oct 4 09:41:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 13822031 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DC47CFA755 for ; Fri, 4 Oct 2024 09:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=283GIraXOqICscpEk7Lv0Lg1KiwaZycXKW4ReSx8awI=; b=u+FIq2WQMpFbEZv/+0hf7LbEbP 3zo1/L67f/ZbAT0dTwiXk6uhqBQyvrSoNyRXO/hDd1CC2u1XOkDprshpRT0rl6l4EFE9a8WreQ0wa NQp4quhueiQY3JBuZnTEoXdX65Vayf6kZ52BGXn74Fs+jyJNWINhZFp4VyI1PpGAkbbLb9OIZvIvS 7n1cEz75FRQv+uRbagPG+jwWgeXVbRJL8MeA20zquVMRSvY/6w/UDTts0MZimfh2fxclKV8AkexHx xEAv+IBqWadG+wp5r8d16sBibPcHd0U1ZeZVgPmQ+4WEWTyFE9RNQhQ2axc8Z4h4wpewEJhwcGHu1 Rt7h3XDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swexN-0000000BiSQ-07Cl; Fri, 04 Oct 2024 09:50:41 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sweoy-0000000Bg54-0Hfm for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2024 09:42:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728034920; x=1759570920; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xRPuNhPsiXGT6a+lO+CZ7Sg6JO8cPSOCVaHEShpIFqQ=; b=JWz+ZMx7DdW2qvFaj/5cq58tHZRhKrmmLjWljFhxWmK2iPuBMcUJldSd 94s41kNjZo4moUyBFWGmQTSq1Xq93euURLY3rkCoOPfWmVrbutXEAojK/ kryYrvYmDwKjO3ptUZLdgHqZSZrW/ICdLGfcDeBx49BP9ACLCytXPSDvr RRZ/79OYH1MMy2ZDNFVDxtdlilnlE+iUvasB7SsS6dUv4WDEhMgR1rQaC h8JUxBUMnpI3in1nHL1e/vt2MsU1mYa/HrCJRlPdfmVZYLKT0uPjbvPJ0 MExYCFlPzXaKyiQcWQl/z+/D0hDX+ie9fDsA/CNIrgwtm4Wr0v6dFdZhY A==; X-CSE-ConnectionGUID: vufVoZyhQXulT62gcwESLQ== X-CSE-MsgGUID: QHzaNkK5Q0ioBwLbJwFieQ== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="27136231" X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="27136231" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:59 -0700 X-CSE-ConnectionGUID: Emg5aJ6gRK6Z5Lv5YMcOjg== X-CSE-MsgGUID: /gdpKu12TpGmH0AyePnrKw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,177,1725346800"; d="scan'208";a="105492123" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2024 02:41:58 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id C9F3811FA28; Fri, 4 Oct 2024 12:41:55 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.96) (envelope-from ) id 1sweot-000TiS-2c; Fri, 04 Oct 2024 12:41:55 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo From: Sakari Ailus To: Hector Martin , Sven Peter , Alyssa Rosenzweig Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH 51/51] soc: apple: mailbox: Switch to __pm_runtime_put_autosuspend() Date: Fri, 4 Oct 2024 12:41:55 +0300 Message-Id: <20241004094155.114218-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241004094101.113349-1-sakari.ailus@linux.intel.com> References: <20241004094101.113349-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_024200_140401_8989F374 X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pm_runtime_put_autosuspend() will soon be changed to include a call to pm_runtime_mark_last_busy(). This patch switches the current users to __pm_runtime_put_autosuspend() which will continue to have the functionality of old pm_runtime_put_autosuspend(). Signed-off-by: Sakari Ailus --- drivers/soc/apple/mailbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/apple/mailbox.c b/drivers/soc/apple/mailbox.c index 49a0955e82d6..30fefafa9c59 100644 --- a/drivers/soc/apple/mailbox.c +++ b/drivers/soc/apple/mailbox.c @@ -276,7 +276,7 @@ void apple_mbox_stop(struct apple_mbox *mbox) mbox->active = false; disable_irq(mbox->irq_recv_not_empty); pm_runtime_mark_last_busy(mbox->dev); - pm_runtime_put_autosuspend(mbox->dev); + __pm_runtime_put_autosuspend(mbox->dev); } EXPORT_SYMBOL(apple_mbox_stop);