summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vsp1/vsp1_bru.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-12-05 20:17:10 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-19 09:43:46 -0200
commit5aa2eb3c86d4fd167b7c4e41eceb99a8598bcc76 (patch)
treeb334d2e2ea90dd66cce771600d5225fd2de76771 /drivers/media/platform/vsp1/vsp1_bru.c
parent1517b0392369d67250e6b275671be5bdbf64b81e (diff)
downloadlinux-5aa2eb3c86d4fd167b7c4e41eceb99a8598bcc76.tar.gz
linux-5aa2eb3c86d4fd167b7c4e41eceb99a8598bcc76.tar.bz2
linux-5aa2eb3c86d4fd167b7c4e41eceb99a8598bcc76.zip
[media] v4l: vsp1: Configure device based on IP version
The IP version number carries enough information to identify the exact device instance features. Drop the related DT properties and use the IP version instead. 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_bru.c')
-rw-r--r--drivers/media/platform/vsp1/vsp1_bru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_bru.c b/drivers/media/platform/vsp1/vsp1_bru.c
index 32e2009c215a..cb0dbc15ddad 100644
--- a/drivers/media/platform/vsp1/vsp1_bru.c
+++ b/drivers/media/platform/vsp1/vsp1_bru.c
@@ -416,7 +416,7 @@ struct vsp1_bru *vsp1_bru_create(struct vsp1_device *vsp1)
bru->entity.type = VSP1_ENTITY_BRU;
ret = vsp1_entity_init(vsp1, &bru->entity,
- vsp1->pdata.num_bru_inputs + 1);
+ vsp1->info->num_bru_inputs + 1);
if (ret < 0)
return ERR_PTR(ret);