Commit 0a147c3b authored by Volokh Konstantin's avatar Volokh Konstantin Committed by Mauro Carvalho Chehab

[media] staging: media: go7007: call_all stream stuff Some Additional stuff...

[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: default avatarVolokh Konstantin <volokh84@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d18b6acf
...@@ -953,6 +953,7 @@ static int vidioc_streamon(struct file *file, void *priv, ...@@ -953,6 +953,7 @@ static int vidioc_streamon(struct file *file, void *priv,
} }
mutex_unlock(&go->hw_lock); mutex_unlock(&go->hw_lock);
mutex_unlock(&gofh->lock); mutex_unlock(&gofh->lock);
call_all(&go->v4l2_dev, video, s_stream, 1);
return retval; return retval;
} }
...@@ -968,6 +969,7 @@ static int vidioc_streamoff(struct file *file, void *priv, ...@@ -968,6 +969,7 @@ static int vidioc_streamoff(struct file *file, void *priv,
mutex_lock(&gofh->lock); mutex_lock(&gofh->lock);
go7007_streamoff(go); go7007_streamoff(go);
mutex_unlock(&gofh->lock); mutex_unlock(&gofh->lock);
call_all(&go->v4l2_dev, video, s_stream, 0);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment