|
@@ -1596,7 +1596,7 @@ static int vpif_suspend(struct device *dev)
|
|
|
ch = vpif_obj.dev[i];
|
|
|
common = &ch->common[VPIF_VIDEO_INDEX];
|
|
|
|
|
|
- if (!vb2_is_streaming(&common->buffer_queue))
|
|
|
+ if (!vb2_start_streaming_called(&common->buffer_queue))
|
|
|
continue;
|
|
|
|
|
|
mutex_lock(&common->lock);
|
|
@@ -1630,7 +1630,7 @@ static int vpif_resume(struct device *dev)
|
|
|
ch = vpif_obj.dev[i];
|
|
|
common = &ch->common[VPIF_VIDEO_INDEX];
|
|
|
|
|
|
- if (!vb2_is_streaming(&common->buffer_queue))
|
|
|
+ if (!vb2_start_streaming_called(&common->buffer_queue))
|
|
|
continue;
|
|
|
|
|
|
mutex_lock(&common->lock);
|