video: fixed video peek get first frame toggled err [1/1]

PD#SWPL-4048

Problem:
video peek can not get first frame toggled on 64bit

Solution:
add the cmd to amvideo_compat_ioctl

Verify:
verify on p212

Change-Id: I6933f305382d636f5f98f4bf19fddcf6ce9471c1
Signed-off-by: Jian Wang <jian.wang@amlogic.com>
This commit is contained in:
Jian Wang
2019-02-01 16:08:05 +08:00
parent 877bb8a867
commit 0dce312f06

View File

@@ -9192,6 +9192,7 @@ static long amvideo_compat_ioctl(struct file *file, unsigned int cmd, ulong arg)
case AMSTREAM_IOC_SET_VSYNC_UPINT:
case AMSTREAM_IOC_SET_VSYNC_SLOW_FACTOR:
case AMSTREAM_IOC_GLOBAL_SET_VIDEO_OUTPUT:
case AMSTREAM_IOC_GET_FIRST_FRAME_TOGGLED:
case AMSTREAM_IOC_SET_VIDEOPEEK:
return amvideo_ioctl(file, cmd, arg);
default: