diff options
author | Volokh Konstantin <volokh84@gmail.com> | 2013-01-16 07:00:51 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-06 06:03:49 -0500 |
commit | 0a147c3bf75d429fc7922abb582c7c686b028bc4 (patch) | |
tree | a8a9c2e6345d587cea92b3e4afd501ff0cd8caf8 /drivers/staging | |
parent | d18b6acfe2f1c279ab2fb510eabc405cf538fb68 (diff) |
[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, | |||
953 | } | 953 | } |
954 | mutex_unlock(&go->hw_lock); | 954 | mutex_unlock(&go->hw_lock); |
955 | mutex_unlock(&gofh->lock); | 955 | mutex_unlock(&gofh->lock); |
956 | call_all(&go->v4l2_dev, video, s_stream, 1); | ||
956 | 957 | ||
957 | return retval; | 958 | return retval; |
958 | } | 959 | } |
@@ -968,6 +969,7 @@ static int vidioc_streamoff(struct file *file, void *priv, | |||
968 | mutex_lock(&gofh->lock); | 969 | mutex_lock(&gofh->lock); |
969 | go7007_streamoff(go); | 970 | go7007_streamoff(go); |
970 | mutex_unlock(&gofh->lock); | 971 | mutex_unlock(&gofh->lock); |
972 | call_all(&go->v4l2_dev, video, s_stream, 0); | ||
971 | 973 | ||
972 | return 0; | 974 | return 0; |
973 | } | 975 | } |