From nobody Wed Oct 8 00:42:30 2025 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43FD32E4252 for ; Fri, 4 Jul 2025 07:54:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751615684; cv=none; b=ATRgI1wkczm4FDF0EUiwIZekFk92ny9G/27fbeINv3lvyEUlA4qSACXTHxvHjKNBd48pT9U1gYAd9w+7AV9sKb7+TP38h2CaRRlGHHsce78+sewfdVqckNAhub1Kg2NYtorqJ56CYbTspolZHg6mHAGOXntFw9RWU1wg/UXt10w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751615684; c=relaxed/simple; bh=yOOYW/owvwXZgS2+HcQ7G4ePe8nCZzpY+QwYaMpoeI0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WEF2XbUvWCmrya2NBdJqiGe83FD8qvrVKJV9VJeua2pJIKBaNqxlwZSHW5a56iI7HMdW+kfB7+d3gP5+vdfmswU8dfu5VwlJubFarFjgyx23TwQU7/JtApW95pYo6M8/ZokDR/0oa4GsjyRk7/Ylcmlff1H5eey6sbcxLSfGVDw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ce746wt5; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ce746wt5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751615683; x=1783151683; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yOOYW/owvwXZgS2+HcQ7G4ePe8nCZzpY+QwYaMpoeI0=; b=ce746wt5/B2ysIQK3ZJJuUD1/6854NHvr28KYOEmy4IHmkxe2yub5td3 9EjvG4qvWGTzL+f3snWAJIe6MtxhHsXAjYRkhBTWUvetCjs8XvMlzdYAu BsZObodorUMF/HRy7RYrcX+ldjwgQD2ctOEJeSBrDEmNxA2dhLnTjsFVP 1Z43GR36lbDfRrSRtc/3jYWsUlgf3X2tGf0GuYDSdKGmBNjfLMGnUtVNw Vf7glCeOzyzYUVOjWF7pUUeu7FdYCYUzMnxlKRGBcW6sNchxGCrvjUinU WrOVdfx7zpc5ymjt4TLRjBSH01rkH+P4JSKBpMdqRjNz6WaLj8Jo/Y2o7 A==; X-CSE-ConnectionGUID: ar3tv4dQQUyR2w51+wSTyw== X-CSE-MsgGUID: 05YKNysPRPGXzbK+BAeeYg== X-IronPort-AV: E=McAfee;i="6800,10657,11483"; a="64194110" X-IronPort-AV: E=Sophos;i="6.16,286,1744095600"; d="scan'208";a="64194110" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2025 00:54:40 -0700 X-CSE-ConnectionGUID: /AI2m1pvTg66r4GBAEPbDA== X-CSE-MsgGUID: IR5aMR1DS2eGmRE/uCOv2Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,286,1744095600"; d="scan'208";a="158616572" Received: from jkrzyszt-mobl2.ger.corp.intel.com (HELO svinhufvud.fi.intel.com) ([10.245.244.244]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2025 00:54:37 -0700 Received: from svinhufvud.lan (localhost [IPv6:::1]) by svinhufvud.fi.intel.com (Postfix) with ESMTP id 1F96F44424; Fri, 4 Jul 2025 10:54:35 +0300 (EEST) Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: Han Xu , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: imx@lists.linux.dev, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 45/80] mtd: rawnand: gpmi: Remove redundant pm_runtime_mark_last_busy() calls Date: Fri, 4 Jul 2025 10:54:34 +0300 Message-Id: <20250704075434.3220589-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250704075225.3212486-1-sakari.ailus@linux.intel.com> References: <20250704075225.3212486-1-sakari.ailus@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy(). Signed-off-by: Sakari Ailus --- The cover letter of the set can be found here . In brief, this patch depends on PM runtime patches adding marking the last busy timestamp in autosuspend related functions. The patches are here, on rc2: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-runtime-6.17-rc1 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/= raw/gpmi-nand/gpmi-nand.c index f4e68008ea03..8c1bf09bdbae 100644 --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c @@ -188,7 +188,6 @@ static int gpmi_init(struct gpmi_nand_data *this) r->gpmi_regs + HW_GPMI_CTRL1_SET); =20 err_out: - pm_runtime_mark_last_busy(this->dev); pm_runtime_put_autosuspend(this->dev); return ret; } @@ -758,7 +757,6 @@ static int bch_set_geometry(struct gpmi_nand_data *this) =20 ret =3D 0; err_out: - pm_runtime_mark_last_busy(this->dev); pm_runtime_put_autosuspend(this->dev); =20 return ret; @@ -2664,7 +2662,6 @@ static int gpmi_nfc_exec_op(struct nand_chip *chip, this->bch =3D false; =20 out_pm: - pm_runtime_mark_last_busy(this->dev); pm_runtime_put_autosuspend(this->dev); =20 return ret; --=20 2.39.5