Commit 61372126 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

[media] v4l: vsp1: Add race condition FIXME comment

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 21b3d736
...@@ -813,6 +813,9 @@ vsp1_video_streamon(struct file *file, void *fh, enum v4l2_buf_type type) ...@@ -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 * Use the VSP1 pipeline object embedded in the first video object that
* starts streaming. * starts streaming.
*
* FIXME: This is racy, the ioctl is only protected by the video node
* lock.
*/ */
pipe = video->video.entity.pipe pipe = video->video.entity.pipe
? to_vsp1_pipeline(&video->video.entity) : &video->pipe; ? to_vsp1_pipeline(&video->video.entity) : &video->pipe;
......
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