summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1/vsp1_video.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-01-18 00:53:56 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-14 01:03:21 +0300
commita0cdac5610ea900dcf6a78d4d0216aef2bca7b80 (patch)
tree970a24dc99e7eba62b5011f546b916f2788d9dc5 /drivers/media/platform/vsp1/vsp1_video.h
parent76c29755960c911b4e1bec3da90d4d5f6b44d3f3 (diff)
downloadlinux-a0cdac5610ea900dcf6a78d4d0216aef2bca7b80.tar.xz
[media] v4l: vsp1: Allocate pipelines on demand
Instead of embedding pipelines in the vsp1_video objects allocate them on demand when they are needed. This fixes the streamon race condition where pipelines objects from different video nodes could be used for the same pipeline. 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.h')
-rw-r--r--drivers/media/platform/vsp1/vsp1_video.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_video.h b/drivers/media/platform/vsp1/vsp1_video.h
index 64abd39ee1e7..867b00807c46 100644
--- a/drivers/media/platform/vsp1/vsp1_video.h
+++ b/drivers/media/platform/vsp1/vsp1_video.h
@@ -18,7 +18,6 @@
#include <media/videobuf2-v4l2.h>
-#include "vsp1_pipe.h"
#include "vsp1_rwpf.h"
struct vsp1_vb2_buffer {
@@ -44,7 +43,6 @@ struct vsp1_video {
struct mutex lock;
- struct vsp1_pipeline pipe;
unsigned int pipe_index;
struct vb2_queue queue;