diff options
author | Laurent Pinchart | 2016-01-17 22:53:56 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-04-14 00:03:21 +0200 |
commit | a0cdac5610ea900dcf6a78d4d0216aef2bca7b80 (patch) | |
tree | 970a24dc99e7eba62b5011f546b916f2788d9dc5 /drivers/media/platform/vsp1/vsp1_wpf.c | |
parent | [media] v4l: vsp1: video: Reorder functions (diff) | |
download | kernel-qcow2-linux-a0cdac5610ea900dcf6a78d4d0216aef2bca7b80.tar.gz kernel-qcow2-linux-a0cdac5610ea900dcf6a78d4d0216aef2bca7b80.tar.xz kernel-qcow2-linux-a0cdac5610ea900dcf6a78d4d0216aef2bca7b80.zip |
[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_wpf.c')
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_wpf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_wpf.c b/drivers/media/platform/vsp1/vsp1_wpf.c index d1d5c08ca35e..ce1d0b4094db 100644 --- a/drivers/media/platform/vsp1/vsp1_wpf.c +++ b/drivers/media/platform/vsp1/vsp1_wpf.c @@ -17,6 +17,7 @@ #include "vsp1.h" #include "vsp1_dl.h" +#include "vsp1_pipe.h" #include "vsp1_rwpf.h" #include "vsp1_video.h" |