From: Laurent Pinchart Date: Sun, 25 Jun 2017 17:12:36 +0000 (+0300) Subject: v4l: vsp1: Don't set WPF sink pointer X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96be4c2ccc737168623757bbc6e17326c744657d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git v4l: vsp1: Don't set WPF sink pointer The sink pointer is used to configure routing inside the VSP, and as such must point to the next VSP entity in the pipeline. The WPF being a pipeline terminal sink, its output route can't be configured. The routing configuration code already handles this correctly without referring to the sink pointer, which thus doesn't need to be set. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Acked-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/vsp1/vsp1_drv.c b/drivers/media/platform/vsp1/vsp1_drv.c index 6b35e043b554..35087d5573ce 100644 --- a/drivers/media/platform/vsp1/vsp1_drv.c +++ b/drivers/media/platform/vsp1/vsp1_drv.c @@ -412,7 +412,6 @@ static int vsp1_create_entities(struct vsp1_device *vsp1) } list_add_tail(&video->list, &vsp1->videos); - wpf->entity.sink = &video->video.entity; } }