Re: [PATCH] bus: mhi: host: Shut down the health check timer on removal
From: Manivannan Sadhasivam
Date: Tue Dec 01 2026 - 11:32:42 EST
On Sun, 11 Oct 2026 14:51:34 -0400, Myeonghun Pak wrote:
> The recovery worker rearms health_check_timer after a successful device
> recovery. Deleting the timer before cancel_work_sync() does not prevent
> an already running recovery worker from adding it again while removal
> waits for that worker. The timer can then run after the controller and
> the managed mhi_pci_device have been released.
>
> Use timer_shutdown_sync() before cancelling recovery_work. This waits for
> the timer callback and rejects subsequent rearming, including rearming
> by the worker being cancelled. Keep the reversible timer deletion used
> by suspend and reset paths.
>
> [...]
Applied, thanks!
[1/1] bus: mhi: host: Shut down the health check timer on removal
commit: b272270c1ee9533b483f191a34549b4f573ed339
Best regards,
--
மணிவண்ணன் சதாசிவம்