From nobody Wed Oct 8 00:41:55 2025 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 403EE2D6638; Fri, 4 Jul 2025 07:54:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751615670; cv=none; b=DniCbrpjoYXp5jsGzxiCRfNOuhup7vn3BOHEVW29K0a7JxvT8lHnjpMSIzGWgN5YZr9ITgOFb/AN+HHJRkUq9gyHeaEgpqWbghLnydRXggn4ps2sNt/8MaOXFF687jViRfbuRFGfBATDVWPE6cZl5okBRhjc5NaHtpx3XwJsQjk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751615670; c=relaxed/simple; bh=iWBWM0U4T919tQGPGfn9BScin0AJyspS/yqsVimSI2Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ehakGMswGkgb/MqLnxPK7pKY8tbayMvsQDWAdk6MRobUYxiS9wPm3bpYIcfZOCwR4eL7qTVLhUyIukYFdgV8Q1uplRpLzXA56LExjwpIA48dmlT2sf9Hc6M211viVPpe7NKYhR9ZQlM3OGahDnv3PnPxld+YPiBjWDRgAYUhn1A= 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=SgqInHLr; arc=none smtp.client-ip=198.175.65.9 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="SgqInHLr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751615668; x=1783151668; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=iWBWM0U4T919tQGPGfn9BScin0AJyspS/yqsVimSI2Q=; b=SgqInHLrh5Ey+6QTxzP2B2ogOKiz0BB+Vx3+xf2pAXEq2tqwAb8UBbyM 9ed+r8YpRKcx4vjE8N8A5EBYUzOH5tjo3xF9CUPiD9CA1+1RHxOHNIlGO iBtE/4d5uDy0erCyNgeECBt7Uhnhg5oW8x9rxU1tmoslN5AMtnFU8th13 1UH53ujqh4Hp7U/WEZmVDl0hlucCckSve1NfyiG2MTOlgFrROMyGTHJPT 7+AY8NqrNnVf8t08MVkpdrOwSk+fjvK7ZDt8h1g9ak+uwD4IEdL2EkLLA I5DyHOD95cnsCocf7ZVbwMFKHXJtc9Nqa59KhKSeJYCGxjFXejpUZvMUh w==; X-CSE-ConnectionGUID: m1NKziOZTDasnewOTupUDg== X-CSE-MsgGUID: lFBXTsx5TDWylBqepNcm3g== X-IronPort-AV: E=McAfee;i="6800,10657,11483"; a="76494640" X-IronPort-AV: E=Sophos;i="6.16,286,1744095600"; d="scan'208";a="76494640" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2025 00:54:27 -0700 X-CSE-ConnectionGUID: 1PPAJs0KT4yeS0NQgpsEJA== X-CSE-MsgGUID: PargF/5ZSQyGI5qazvbrfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,286,1744095600"; d="scan'208";a="158924271" Received: from jkrzyszt-mobl2.ger.corp.intel.com (HELO svinhufvud.fi.intel.com) ([10.245.244.244]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2025 00:54:24 -0700 Received: from svinhufvud.lan (localhost [IPv6:::1]) by svinhufvud.fi.intel.com (Postfix) with ESMTP id 4FF4244A4B; Fri, 4 Jul 2025 10:54:22 +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: Jonathan Cameron , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Maxime Coquelin , Alexandre Torgue , Sakari Ailus , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Cc: linux-iio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 31/80] iio: dac: Remove redundant pm_runtime_mark_last_busy() calls Date: Fri, 4 Jul 2025 10:54:22 +0300 Message-Id: <20250704075422.3219331-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/iio/dac/stm32-dac.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c index 344388338d9b..7d47c7dddbf8 100644 --- a/drivers/iio/dac/stm32-dac.c +++ b/drivers/iio/dac/stm32-dac.c @@ -96,7 +96,6 @@ static int stm32_dac_set_enable_state(struct iio_dev *ind= io_dev, int ch, udelay(1); =20 if (!enable) { - pm_runtime_mark_last_busy(dev); pm_runtime_put_autosuspend(dev); } =20 @@ -104,7 +103,6 @@ static int stm32_dac_set_enable_state(struct iio_dev *i= ndio_dev, int ch, =20 err_put_pm: if (enable) { - pm_runtime_mark_last_busy(dev); pm_runtime_put_autosuspend(dev); } =20 @@ -349,7 +347,6 @@ static int stm32_dac_probe(struct platform_device *pdev) if (ret) goto err_pm_put; =20 - pm_runtime_mark_last_busy(dev); pm_runtime_put_autosuspend(dev); =20 return 0; --=20 2.39.5