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

Frank.Li at oss.nxp.com Frank.Li at oss.nxp.com
Mon Jul 27 07:18:15 PDT 2026


From: Frank Li <Frank.Li at nxp.com>


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 at nxp.com>



More information about the linux-arm-kernel mailing list