Re: [PATCH] media: mx2-emmaprp: return failed buffers on bus errors
From: Frank . Li
Date: Wed Nov 04 2026 - 18:12:26 EST
From: Frank Li <Frank.Li@xxxxxxx>
On Thu, 29 Oct 2026 16:49:57 +0200, Avi Weiss wrote:
> emmaprp_irq() resets the PrP engine on a read or channel-2 write
> bus error but leaves the source and destination buffers queued.
> v4l2_m2m_job_finish() releases the job without returning either
> buffer, allowing the same pair to be scheduled again.
>
> Complete both buffers with VB2_BUF_STATE_ERROR before finishing
> the job so userspace can dequeue the failed pair.
>
> [...]
Applied, thanks!
[1/1] media: mx2-emmaprp: return failed buffers on bus errors
commit: 2e0758dcfb305acabbfeb5f38ad1a9f8f874898d
Best regards,
--
Frank Li <Frank.Li@xxxxxxx>