summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSrinu Gorle <sgorle@codeaurora.org>2016-02-08 21:10:47 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:02:29 -0700
commitdcb00350919eb1d03e8b643ef1dbc53262685679 (patch)
tree9cd8dd968da8e2ebc2a6a79cda5a20c485a4d0c0 /drivers
parent8e955dcd626089163456a1ac56881c47bbd3a50f (diff)
msm: vidc: Remove read-only flags for profile and level clusters
Due to chipset max capabilities considered in buffer population, secure scenarios are failing due to limited CMA size. Remove read-only flags for profile and level clusters to allow omx component set. CRs-Fixed: 973470 Change-Id: I28c8318bd356ebb01258c1ec946215a838f81827 Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/msm/vidc/msm_vdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/msm/vidc/msm_vdec.c b/drivers/media/platform/msm/vidc/msm_vdec.c
index c11052f35c25..cc7cc0077196 100644
--- a/drivers/media/platform/msm/vidc/msm_vdec.c
+++ b/drivers/media/platform/msm/vidc/msm_vdec.c
@@ -392,7 +392,7 @@ static struct msm_vidc_ctrl msm_vdec_ctrls[] = {
.maximum = V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_HIGH,
.default_value = V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE,
.menu_skip_mask = 0,
- .flags = V4L2_CTRL_FLAG_VOLATILE | V4L2_CTRL_FLAG_READ_ONLY,
+ .flags = V4L2_CTRL_FLAG_VOLATILE,
.qmenu = NULL,
},
{
@@ -402,7 +402,7 @@ static struct msm_vidc_ctrl msm_vdec_ctrls[] = {
.maximum = V4L2_MPEG_VIDEO_H264_LEVEL_5_2,
.default_value = V4L2_MPEG_VIDEO_H264_LEVEL_1_0,
.menu_skip_mask = 0,
- .flags = V4L2_CTRL_FLAG_VOLATILE | V4L2_CTRL_FLAG_READ_ONLY,
+ .flags = V4L2_CTRL_FLAG_VOLATILE,
.qmenu = NULL,
},
{