author: Changhuang Liang <changhuang.liang@starfivetech.com> 2023-06-01 14:00:13 +0800
committer: Andy Hu <andy.hu@starfivetech.com> 2023-11-01 15:04:53 +0800
commit: 4c0e9158bf1c177a02d201406a33243611a18de4
parent: eb16ef010eb5674407a55f69615a494aeed849fb
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
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