diff options
author | 2018-02-22 17:22:43 -0500 | |
---|---|---|
committer | 2018-05-04 07:55:08 -0400 | |
commit | 1ccbb32cb8b4b0445d4281a37752e54e0fcade4c (patch) | |
tree | 51a3109ee0d6a45905eeae86d7bf78d950326944 /drivers/media/platform/vsp1/vsp1_drv.c | |
parent | media: v4l: vsp1: Remove unused field from vsp1_drm_pipeline structure (diff) | |
download | linux-dev-1ccbb32cb8b4b0445d4281a37752e54e0fcade4c.tar.xz linux-dev-1ccbb32cb8b4b0445d4281a37752e54e0fcade4c.zip |
media: v4l: vsp1: Store pipeline pointer in vsp1_entity
Various types of objects subclassing vsp1_entity currently store a
pointer to the pipeline. Move the pointer to vsp1_entity to simplify the
code and avoid storing the pipeline in more entity subclasses later.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_drv.c')
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_drv.c b/drivers/media/platform/vsp1/vsp1_drv.c index eed9516e25e1..58a7993f2306 100644 --- a/drivers/media/platform/vsp1/vsp1_drv.c +++ b/drivers/media/platform/vsp1/vsp1_drv.c @@ -63,7 +63,7 @@ static irqreturn_t vsp1_irq_handler(int irq, void *data) vsp1_write(vsp1, VI6_WPF_IRQ_STA(i), ~status & mask); if (status & VI6_WFP_IRQ_STA_DFE) { - vsp1_pipeline_frame_end(wpf->pipe); + vsp1_pipeline_frame_end(wpf->entity.pipe); ret = IRQ_HANDLED; } } |