summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1/vsp1_video.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-11-05 10:28:56 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-13 17:53:40 -0300
commit613721265ab8d3df784488e3073d92fcb466df34 (patch)
tree69627725cdfa9a53134a98af922fafd3198e0970 /drivers/media/platform/vsp1/vsp1_video.c
parent21b3d7365f4fa7865568823ba844ce056c1fcf9b (diff)
[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>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_video.c')
-rw-r--r--drivers/media/platform/vsp1/vsp1_video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c
index 7cb270f57f62..102977ae1daa 100644
--- a/drivers/media/platform/vsp1/vsp1_video.c
+++ b/drivers/media/platform/vsp1/vsp1_video.c
@@ -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;