Re: [PATCH] media: imx-jpeg: finish the job on device_run() error paths

[email protected]
Newsgroups dev.linux.lists.imx,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-media,org.kernel.vger.stable
Message-ID <178516199439.2421069.16061546765189005821.b4-ty@b4>
From: Frank Li <[email protected]>


On Wed, 24 Jun 2026 00:32:08 +0000, Fan Wu wrote:
> mxc_jpeg_device_run() returns early through a shared "end" label on several
> error paths (no free slot, mxc_jpeg_alloc_slot_data() failure, or missing
> buffers or queue data), and none of them calls v4l2_m2m_job_finish().
> Since the delayed work is queued only after the hardware is started, those
> paths neither finish the job directly nor queue timeout work that could
> finish it later. The job is left with TRANS_RUNNING set, so the
> wait_event() in v4l2_m2m_cancel_job() (reached from v4l2_m2m_ctx_release()
> at close) waits indefinitely and the close hangs.
> 
> [...]

Applied, thanks!

[1/1] media: imx-jpeg: finish the job on device_run() error paths
      commit: 84cf16d021a20ff35ec50833af531deabea71992

Best regards,
-- 
Frank Li <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.