v4l: vsp1: Don't create links for DRM pipeline
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 23 Jun 2017 13:19:27 +0000 (16:19 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 29 Jul 2017 20:46:56 +0000 (23:46 +0300)
commit650651b7b5242f168dda1aa8f399edd8f0f1afa6
tree451bc62463d32250e43769ac122cc64d52991db5
parent2275e8d7f5872d83889aca7dcf30e3e75628d15d
v4l: vsp1: Don't create links for DRM pipeline

When the VSP1 is used in a DRM pipeline the driver doesn't register the
media device. Links between entities are not exposed to userspace, but
are still used internally for the sole purpose of setting up internal
source to sink pointers through the link setup handler.

Instead of going through this complex procedure, remove link creation
and set the sink 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_drm.h
drivers/media/platform/vsp1/vsp1_drv.c