mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
media: rockchip: vicap wait fe to stop stream when stream suspend
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: I001f2052481c7b91b09100d1d6e5bae0d5555327
This commit is contained in:
@@ -12297,7 +12297,7 @@ int rkcif_stream_suspend(struct rkcif_device *cif_dev, int mode)
|
||||
suspend_cnt++;
|
||||
v4l2_dbg(1, rkcif_debug, &cif_dev->v4l2_dev,
|
||||
"stream[%d] stopping\n", stream->id);
|
||||
if (stream->dma_en) {
|
||||
if (!cif_dev->is_sensor_off) {
|
||||
stream->stopping = true;
|
||||
ret = wait_event_timeout(stream->wq_stopped,
|
||||
stream->state != RKCIF_STATE_STREAMING,
|
||||
|
||||
Reference in New Issue
Block a user