summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vsp1/vsp1_drv.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-11-01 10:53:22 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-13 17:32:16 -0300
commit7939fef4d3911695c78cb067f1e4c16056a9f113 (patch)
treee95191e2e87e07082016fdc239d16ece426a2ddc /drivers/media/platform/vsp1/vsp1_drv.c
parentaa380ea0c54e491f7f31e8180514766dd3e6cd91 (diff)
downloadlinux-7939fef4d3911695c78cb067f1e4c16056a9f113.tar.bz2
[media] v4l: vsp1: Always setup the display list
Make sure display list usage is correctly disabled by always setting up the corresponding registers, including when the display list feature isn't used. 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_drv.c')
-rw-r--r--drivers/media/platform/vsp1/vsp1_drv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_drv.c b/drivers/media/platform/vsp1/vsp1_drv.c
index 58632d766a2a..d657949bac3b 100644
--- a/drivers/media/platform/vsp1/vsp1_drv.c
+++ b/drivers/media/platform/vsp1/vsp1_drv.c
@@ -462,8 +462,7 @@ static int vsp1_device_init(struct vsp1_device *vsp1)
vsp1_write(vsp1, VI6_DPR_HGT_SMPPT, (7 << VI6_DPR_SMPPT_TGW_SHIFT) |
(VI6_DPR_NODE_UNUSED << VI6_DPR_SMPPT_PT_SHIFT));
- if (!vsp1->info->uapi)
- vsp1_dl_setup(vsp1);
+ vsp1_dl_setup(vsp1);
return 0;
}