[PATCH net v8 09/10] can: rockchip_canfd: prevent timestamp work from rearming after bus-off
Marc Kleine-Budde
mkl at pengutronix.de
Sun Nov 8 12:58:35 PST 2026
On 08.11.2026 19:33:36, Cunhao Lu via B4 Relay wrote:
> From: Cunhao Lu <1579567540 at qq.com>
>
> The bus-off IRQ cancels timestamp work asynchronously. If the worker
> is already running, it can requeue itself after cancellation and keep
> polling while the controller remains bus-off.
What about using disable_delayed_work(), which avoids re-scheduling.
For an example see:
https://lore.kernel.org/all/20261108-gs_usb-fixes-v5-6-d52dd4940d46@pengutronix.de/
regards,
Marc
pw-bot:cr
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20261108/7d91090a/attachment.sig>
More information about the Linux-rockchip
mailing list