[media] staging: media: go7007: call_all stream stuff Some Additional stuff for v4l2_...
authorVolokh Konstantin <volokh84@gmail.com>
Wed, 16 Jan 2013 12:00:51 +0000 (09:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Feb 2013 11:03:49 +0000 (09:03 -0200)
Signed-off-by: Volokh Konstantin <volokh84@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/go7007-v4l2.c

index 39e6749..cb9fe33 100644 (file)
@@ -953,6 +953,7 @@ static int vidioc_streamon(struct file *file, void *priv,
        }
        mutex_unlock(&go->hw_lock);
        mutex_unlock(&gofh->lock);
+       call_all(&go->v4l2_dev, video, s_stream, 1);
 
        return retval;
 }
@@ -968,6 +969,7 @@ static int vidioc_streamoff(struct file *file, void *priv,
        mutex_lock(&gofh->lock);
        go7007_streamoff(go);
        mutex_unlock(&gofh->lock);
+       call_all(&go->v4l2_dev, video, s_stream, 0);
 
        return 0;
 }