]> git.baikalelectronics.ru Git - kernel.git/commit
v4l: vsp1: Store source and sink pointers as vsp1_entity
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 25 Jun 2017 17:15:22 +0000 (20:15 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 29 Jul 2017 20:46:56 +0000 (23:46 +0300)
commitbdaaf0300a5940cbb88055ae1f70a6a592c1d313
treefb2b2b96bf1f073207f563df2017b5b2dd437f87
parentb1e3398eb6a4fe2e92887d55eb05d6fa7c547fe7
v4l: vsp1: Store source and sink pointers as vsp1_entity

The internal VSP entity source and sink pointers are stored as
media_entity pointers, which are then cast to a vsp1_entity. As all
sources and sinks are vsp1_entity instances, we can store the
vsp1_entity pointers directly.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Acked-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_drm.c
drivers/media/platform/vsp1/vsp1_drv.c
drivers/media/platform/vsp1/vsp1_entity.c
drivers/media/platform/vsp1/vsp1_entity.h