media: vim2m: Fix abort issue
[sfrench/cifs-2.6.git] / drivers / media / platform / vim2m.c
index eb8f398d41f43dad97f9d068a24d460208d2cc6c..e17792f837f8296cd0b195efc6ba971d05729efa 100644 (file)
@@ -1073,6 +1073,9 @@ static int vim2m_start_streaming(struct vb2_queue *q, unsigned int count)
        if (!q_data)
                return -EINVAL;
 
+       if (V4L2_TYPE_IS_OUTPUT(q->type))
+               ctx->aborting = 0;
+
        q_data->sequence = 0;
        return 0;
 }