summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanghuang Liang <changhuang.liang@starfivetech.com>2023-06-01 09:00:13 +0300
committerAndy Hu <andy.hu@starfivetech.com>2023-11-01 10:04:53 +0300
commit4c0e9158bf1c177a02d201406a33243611a18de4 (patch)
tree980ee8929d0775b795bfb7262997e65492c8d8ff
parenteb16ef010eb5674407a55f69615a494aeed849fb (diff)
downloadlinux-4c0e9158bf1c177a02d201406a33243611a18de4.tar.xz
media: starfive: Add V4L2_CAP_IO_MC capabilities
Add V4L2_CAP_IO_MC capabilities. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
-rw-r--r--drivers/media/platform/starfive/v4l2_driver/stf_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/starfive/v4l2_driver/stf_video.c b/drivers/media/platform/starfive/v4l2_driver/stf_video.c
index ac8f98a8cec9..60400120e018 100644
--- a/drivers/media/platform/starfive/v4l2_driver/stf_video.c
+++ b/drivers/media/platform/starfive/v4l2_driver/stf_video.c
@@ -1511,7 +1511,7 @@ int stf_video_register(struct stfcamss_video *video,
V4L2_CAP_VIDEO_CAPTURE;
vdev->vfl_dir = VFL_DIR_RX;
}
- vdev->device_caps |= V4L2_CAP_STREAMING | V4L2_CAP_READWRITE;
+ vdev->device_caps |= V4L2_CAP_STREAMING | V4L2_CAP_READWRITE | V4L2_CAP_IO_MC;
if (video->type == V4L2_CAP_VIDEO_OUTPUT)
vdev->ioctl_ops = &stf_vid_ioctl_ops_out;
else