diff options
author | Volokh Konstantin <volokh84@gmail.com> | 2013-01-16 09:00:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-06 09:03:49 -0200 |
commit | 0a147c3bf75d429fc7922abb582c7c686b028bc4 (patch) | |
tree | a8a9c2e6345d587cea92b3e4afd501ff0cd8caf8 /drivers/staging | |
parent | d18b6acfe2f1c279ab2fb510eabc405cf538fb68 (diff) | |
download | blackbird-op-linux-0a147c3bf75d429fc7922abb582c7c686b028bc4.tar.gz blackbird-op-linux-0a147c3bf75d429fc7922abb582c7c686b028bc4.zip |
[media] staging: media: go7007: call_all stream stuff Some Additional stuff for v4l2_subdev stream events partial need for new style framework. Also need for wis_tw2804 notification stuff
Signed-off-by: Volokh Konstantin <volokh84@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/media/go7007/go7007-v4l2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c index 39e6749353be..cb9fe33050c7 100644 --- a/drivers/staging/media/go7007/go7007-v4l2.c +++ b/drivers/staging/media/go7007/go7007-v4l2.c @@ -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; } |