diff options
author | Smitha T Murthy <smitha.t@samsung.com> | 2022-09-07 16:02:27 +0530 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-12-07 17:58:46 +0100 |
commit | d8a46bc4e1e0446459daa77c4ce14218d32dacf9 (patch) | |
tree | b485a6bf62db19c06ece01b39dbb11c05707fe38 /samples/rust | |
parent | d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b (diff) | |
download | linux-d8a46bc4e1e0446459daa77c4ce14218d32dacf9.tar.bz2 |
media: s5p-mfc: Fix to handle reference queue during finishing
On receiving last buffer driver puts MFC to MFCINST_FINISHING state which
in turn skips transferring of frame from SRC to REF queue. This causes
driver to stop MFC encoding and last frame is lost.
This patch guarantees safe handling of frames during MFCINST_FINISHING and
correct clearing of workbit to avoid early stopping of encoding.
Fixes: af9357467810 ("[media] MFC: Add MFC 5.1 V4L2 driver")
Cc: stable@vger.kernel.org
Cc: linux-fsd@tesla.com
Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'samples/rust')
0 files changed, 0 insertions, 0 deletions