From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8316D47F2D5 for ; Fri, 15 May 2026 11:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778845613; cv=none; b=e10+IkQDRq0NMc9YXAXy5S5+6yY4QAHZWLsNjvdzdqVGOnGF0YT4uUDJ25Y8zDECIDKZtkoC4iHDVV6+MkHj7vPDfyskZ0y8udDuse2UJo6PMpkXPkAQxO2wIl8wR1RIgLLEqR1l/cC0t9ceybeZp6TkbClLRRsRCK5UBODEUSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778845613; c=relaxed/simple; bh=y1z99AcdgtHWGphH/YRRsEPypdbuS94ebbgrwHtLAAA=; h=Subject:To:From:Date:Message-ID:MIME-Version:Content-Type; b=f1afaWQ8LwUYV2Rmvz7jF93hlgW4enFDm/Z7INzmgmYxOnPQ+sZGB01WTQbi26iQDvkpvAmY/L/r6vhIxe49itGd2fGC2oAvBEjCSGAmCDsHC3VZqlkQTGnTg9Cx2mnQKH81bhPQaEyE1MO/2Nlg21oCN0uuhWW8hmRMfE7kkL8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MdVV+s0w; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MdVV+s0w" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA9F4C2BCB0; Fri, 15 May 2026 11:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778845613; bh=y1z99AcdgtHWGphH/YRRsEPypdbuS94ebbgrwHtLAAA=; h=Subject:To:From:Date:From; b=MdVV+s0wk8H50OARMco1I1VNA+u8Ozs209HxhjQDFhYb2xWJdvtxruigdAo088FY2 //MgYnHQ096pPUk6979/uUexW7Vx+y3ijsjMB7e3nUomf7riIhxrfNyrzuYijNqaGB uNwp/X2T5cKqXeuJOitjFV8wlLcCsRjfsiNF97Cg= Subject: patch "iio: ssp_sensors: cancel delayed work_refresh on remove" added to char-misc-linus To: sanjayembeddedse@gmail.com,Stable@vger.kernel.org,jic23@kernel.org From: Date: Fri, 15 May 2026 13:46:00 +0200 Message-ID: <2026051500-flattop-stoning-805b@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit This is a note to let you know that I've just added the patch titled iio: ssp_sensors: cancel delayed work_refresh on remove to my char-misc git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git in the char-misc-linus branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will hopefully also be merged in Linus's tree for the next -rc kernel release. If you have any questions about this process, please let me know. >From eedf7602fbd929e97e0c480da501dc7a34beb2a8 Mon Sep 17 00:00:00 2001 From: Sanjay Chitroda Date: Sun, 26 Apr 2026 14:47:04 +0530 Subject: iio: ssp_sensors: cancel delayed work_refresh on remove The work_refresh may still be pending or running when the device is removed, cancel the delayed work_refresh in remove path. Fixes: 50dd64d57eee ("iio: common: ssp_sensors: Add sensorhub driver") Signed-off-by: Sanjay Chitroda Cc: Signed-off-by: Jonathan Cameron --- drivers/iio/common/ssp_sensors/ssp_dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/common/ssp_sensors/ssp_dev.c b/drivers/iio/common/ssp_sensors/ssp_dev.c index da09c9f3ceb6..e2538a84c812 100644 --- a/drivers/iio/common/ssp_sensors/ssp_dev.c +++ b/drivers/iio/common/ssp_sensors/ssp_dev.c @@ -590,6 +590,7 @@ static void ssp_remove(struct spi_device *spi) ssp_clean_pending_list(data); free_irq(data->spi->irq, data); + cancel_delayed_work_sync(&data->work_refresh); timer_delete_sync(&data->wdt_timer); cancel_work_sync(&data->work_wdt); -- 2.54.0