mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
[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>
This commit is contained in:
parent
d18b6acfe2
commit
0a147c3bf7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user