diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2015-12-05 23:17:10 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-19 12:43:46 +0100 |
commit | 5aa2eb3c86d4fd167b7c4e41eceb99a8598bcc76 (patch) | |
tree | b334d2e2ea90dd66cce771600d5225fd2de76771 /drivers/media/platform/vsp1/vsp1_entity.c | |
parent | [media] v4l: vsp1: Add display list support (diff) | |
download | linux-5aa2eb3c86d4fd167b7c4e41eceb99a8598bcc76.tar.xz 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_entity.c')
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_entity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_entity.c b/drivers/media/platform/vsp1/vsp1_entity.c index b9df8349b529..20a78fbd3691 100644 --- a/drivers/media/platform/vsp1/vsp1_entity.c +++ b/drivers/media/platform/vsp1/vsp1_entity.c @@ -45,7 +45,7 @@ int vsp1_entity_set_streaming(struct vsp1_entity *entity, bool streaming) if (!streaming) return 0; - if (!entity->vsp1->pdata.uapi || !entity->subdev.ctrl_handler) + if (!entity->vsp1->info->uapi || !entity->subdev.ctrl_handler) return 0; ret = v4l2_ctrl_handler_setup(entity->subdev.ctrl_handler); |