mirror of
https://github.com/torvalds/linux.git
synced 2026-02-04 15:28:49 +08:00
[media] v4l: vsp1: Add race condition FIXME comment
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
21b3d7365f
commit
613721265a
@@ -813,6 +813,9 @@ vsp1_video_streamon(struct file *file, void *fh, enum v4l2_buf_type type)
|
||||
*
|
||||
* Use the VSP1 pipeline object embedded in the first video object that
|
||||
* starts streaming.
|
||||
*
|
||||
* FIXME: This is racy, the ioctl is only protected by the video node
|
||||
* lock.
|
||||
*/
|
||||
pipe = video->video.entity.pipe
|
||||
? to_vsp1_pipeline(&video->video.entity) : &video->pipe;
|
||||
|
||||
Reference in New Issue
Block a user