diff options
author | david.li <david.li@starfivetech.com> | 2021-09-10 15:09:43 +0300 |
---|---|---|
committer | sw.multimedia <sw.multimedia@starfivetech.com> | 2021-12-21 10:20:06 +0300 |
commit | fd6833e103c45d428687804b80ff87fb6923605b (patch) | |
tree | f590ee511df1e4253f10a6e9d145eec8c6af75c2 /drivers | |
parent | 938f8b9d548f0137e46857b9c075e695e5cb7d16 (diff) | |
download | linux-fd6833e103c45d428687804b80ff87fb6923605b.tar.xz |
[starfive][v4l2][add ioctl vidioc_querymenu]
Signed-off-by: david.li <david.li@starfivetech.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/media/platform/starfive/stf_video.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/platform/starfive/stf_video.c b/drivers/media/platform/starfive/stf_video.c index 216155e7c834..a0ce5cdba5ab 100755 --- a/drivers/media/platform/starfive/stf_video.c +++ b/drivers/media/platform/starfive/stf_video.c @@ -1352,8 +1352,8 @@ static const struct v4l2_ioctl_ops stf_vid_ioctl_ops = { .vidioc_queryctrl = video_queryctrl, .vidioc_s_ext_ctrls = video_s_ext_ctrls, .vidioc_try_ext_ctrls = video_try_ext_ctrls, - //.vidioc_query_ext_ctrl = video_query_ext_ctrl, - //.vidioc_querymenu = video_querymenu, + .vidioc_querymenu = video_querymenu, + //.vidioc_query_ext_ctrl = video_query_ext_ctrl, }; @@ -1383,13 +1383,12 @@ static const struct v4l2_ioctl_ops stf_vid_ioctl_ops_mp = { .vidioc_g_selection = video_g_selection, .vidioc_g_ctrl = video_g_ctrl, .vidioc_s_ctrl = video_s_ctrl, - .vidioc_g_ext_ctrls = video_g_ext_ctrls, .vidioc_queryctrl = video_queryctrl, .vidioc_s_ext_ctrls = video_s_ext_ctrls, .vidioc_try_ext_ctrls = video_try_ext_ctrls, -// .vidioc_querymenu = video_querymenu, -// .vidioc_query_ext_ctrl = video_query_ext_ctrl, + .vidioc_querymenu = video_querymenu, + //.vidioc_query_ext_ctrl = video_query_ext_ctrl, }; static int video_open(struct file *file) |