Re: [PATCH] media: imx-jpeg: cancel timeout worker when streaming stops

From: Frank . Li

Date: Mon Jul 27 2026 - 10:30:04 EST


From: Frank Li <Frank.Li@xxxxxxx>


On Tue, 23 Jun 2026 10:30:31 +0000, Fan Wu wrote:
> Each per-fd context ctx owns a delayed_work (ctx->task_timer, callback
> mxc_jpeg_device_run_timeout) armed via schedule_delayed_work() at the end
> of mxc_jpeg_device_run() to recover a stalled encode/decode job. The only
> existing cancellation is cancel_delayed_work() in the frame-done IRQ
> handler, which de-queues a pending work item but does not wait for a
> callback that has already started, and it only runs when a frame completes.
>
> [...]

Applied, thanks!

[1/1] media: imx-jpeg: cancel timeout worker when streaming stops
commit: 670a7fd24621dc74b8032507d958ffa5eb2d58d2

Best regards,
--
Frank Li <Frank.Li@xxxxxxx>