patch "iio: ssp_sensors: cancel delayed work_refresh on remove" added to char-misc-linus
Subsystems (2)
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 <[email protected]>
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.
--- drivers/iio/common/ssp_sensors/ssp_dev.c | 1 + 1 file changed, 1 insertion(+)
drivers/iio/common/ssp_sensors/ssp_dev.c +1 -0
@@ -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);
Signature · 1 line
2.54.0