From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 E1C11372072 for ; Tue, 12 May 2026 12:17:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778588277; cv=none; b=BKuzVlg6xt3I92g+9T+UC+p+Q6I5ueC7LjT35xnA6jrF84wciSTqYkDhL4wpbmL8ieCjTGat3JNLHORGfj35vtEQ2K5LfSr63MYNd1ZLLpyynnEouczt0YeAnj1jxwXlKsXYhySt9OK1vAjpMpIOHHRgVYPPz+giGX4fym9SsoQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778588277; c=relaxed/simple; bh=e1NvvD4rZ+mSdMuQXOmY0LYGHXLJzztM5hIBT+Aw2as=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=h+XPm1IDL0D9m0thJw/4+NhwhuTxY5Z+bPHAZl9iPSXEHeokzDnOstjUQXtE1wtnjt+0j0LI5V2xo1n0o46UZDyKMvjjBfxjIvs5AmPCc1sT4NGM2/VmK9ev1wcO/b4fa0Vl+beezGJAu3P/vVDDJdcd4RVwfite8KZuBJexSt0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=O2jSClML; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="O2jSClML" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1778588276; x=1810124276; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=e1NvvD4rZ+mSdMuQXOmY0LYGHXLJzztM5hIBT+Aw2as=; b=O2jSClMLNt/X36j4WQLxZA/wnBmcZlp+igmEGMeb3yNSPIsoJEUTriP2 6vclK7pJ3cyU4lhlMnNFGhGQ0RRNo2I5A0EkZnnbXDdbPjFfQW1KnPKBW SPRZs1A3I2heRMeC2P4X3Y63vY1FYuVie6Y+/MKKF3rK2qVaHpvyKFpbI sb3mZQquDvvtqV8kzjA+BjDRGQ48ImaAU15RClCeN/voJvJ7Cm8qN1tPd xnmYdnVpJk3iCKTo75r/t8MawF38WxFk7Y18wLR3OH+/Bw4Y5d5TqRkyQ uCZ1Vq8DlKct7U6VuwJdQpXvAbZNlWKsH1sjJex9rWzmsOxvANaGyPAig w==; X-CSE-ConnectionGUID: UnDYvOz9Rrib3y/jz++SeA== X-CSE-MsgGUID: YTSohS6iSgeTIi+r5FF+pA== X-IronPort-AV: E=McAfee;i="6800,10657,11783"; a="79389502" X-IronPort-AV: E=Sophos;i="6.23,230,1770624000"; d="scan'208";a="79389502" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2026 05:17:56 -0700 X-CSE-ConnectionGUID: WB3igC9KTS6NM4QHh5JicQ== X-CSE-MsgGUID: lhvk4XJyT/GCQFTxRw4HbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,230,1770624000"; d="scan'208";a="241756152" Received: from amilburn-desk.amilburn-desk (HELO ahunter6-desk) ([10.245.245.121]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2026 05:17:54 -0700 From: Adrian Hunter To: alexandre.belloni@bootlin.com Cc: Frank.Li@nxp.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/8] i3c: dw: Drop redundant Hot-Join cancel_work_sync() in shutdown Date: Tue, 12 May 2026 15:17:29 +0300 Message-ID: <20260512121732.406009-6-adrian.hunter@intel.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260512121732.406009-1-adrian.hunter@intel.com> References: <20260512121732.406009-1-adrian.hunter@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Content-Transfer-Encoding: 8bit The I3C core now installs an i3c_bus_type shutdown callback that flushes master->hj_work (via i3c_master_shutdown()) before any driver's platform shutdown hook runs. The explicit cancel_work_sync() in dw_i3c_shutdown() is therefore redundant: by the time it executes, the Hot-Join worker has already been cancelled, and the shutting_down gate makes a new worker a no-op. Remove the now-unneeded call. No functional change. Signed-off-by: Adrian Hunter --- drivers/i3c/master/dw-i3c-master.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i3c/master/dw-i3c-master.c b/drivers/i3c/master/dw-i3c-master.c index eb9a13a73684..c7030d0cd8a6 100644 --- a/drivers/i3c/master/dw-i3c-master.c +++ b/drivers/i3c/master/dw-i3c-master.c @@ -1793,8 +1793,6 @@ static void dw_i3c_shutdown(struct platform_device *pdev) return; } - cancel_work_sync(&master->base.hj_work); - /* Disable interrupts */ writel((u32)~INTR_ALL, master->regs + INTR_STATUS_EN); writel((u32)~INTR_ALL, master->regs + INTR_SIGNAL_EN); -- 2.51.0