mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
media: rockchip: vpss: fix online use channel assigned to offline
Signed-off-by: Mingwei Yan <mingwei.yan@rock-chips.com> Change-Id: Id7dba90c6162ffe05efdc35b23fc5bdfb9b872a5
This commit is contained in:
@@ -1206,6 +1206,11 @@ static int rkvpss_start_streaming(struct vb2_queue *queue, unsigned int count)
|
||||
goto free_buf_queue;
|
||||
}
|
||||
|
||||
if (hw->is_ofl_ch[stream->id]) {
|
||||
v4l2_err(&dev->v4l2_dev, "channel[%d] already assigned to offline", stream->id);
|
||||
goto free_buf_queue;
|
||||
}
|
||||
|
||||
rkvpss_pipeline_open(dev);
|
||||
|
||||
ret = rkvpss_stream_start(stream);
|
||||
|
||||
Reference in New Issue
Block a user