mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "msm: vidc: Deprecate Mpeg2 secure decode support"
This commit is contained in:
commit
6a424bb70f
1 changed files with 2 additions and 3 deletions
|
|
@ -1195,10 +1195,9 @@ int msm_vdec_set_secure_mode(struct msm_vidc_inst *inst)
|
|||
if (ctrl->val) {
|
||||
if (!(codec == V4L2_PIX_FMT_HEVC ||
|
||||
codec == V4L2_PIX_FMT_H264 ||
|
||||
codec == V4L2_PIX_FMT_VP9 ||
|
||||
codec == V4L2_PIX_FMT_MPEG2)) {
|
||||
codec == V4L2_PIX_FMT_VP9)) {
|
||||
s_vpr_e(inst->sid,
|
||||
"%s: Secure allowed for HEVC/H264/VP9/MPEG2\n",
|
||||
"%s: Secure allowed for HEVC/H264/VP9\n",
|
||||
__func__);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue