diff options
| author | Ming Qian <ming.qian@nxp.com> | 2023-08-22 04:45:06 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 10:39:55 +0300 |
| commit | 1c2786632e20c8f0fd4004fae3b3490276e5e5da (patch) | |
| tree | 169fe96b66afcd1fd0b25d136f2cb628477a0f78 /include/linux/workqueue_api.h | |
| parent | a805136eec48c7f0e3b7dad44ec5efb506a938d8 (diff) | |
| download | linux-1c2786632e20c8f0fd4004fae3b3490276e5e5da.tar.xz | |
media: imx-jpeg: initiate a drain of the capture queue in dynamic resolution change
The last buffer from before the change must be marked,
with the V4L2_BUF_FLAG_LAST flag,
similarly to the Drain sequence above.
Meanwhile if V4L2_DEC_CMD_STOP is sent before
the source change triggered,
we need to restore the is_draing flag after
the draining in dynamic resolution change.
Fixes: b4e1fb8643da ("media: imx-jpeg: Support dynamic resolution change")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
