From 5e9ace7a24cb1886327c6381cb456314dca117c4 Mon Sep 17 00:00:00 2001 From: sofus Date: Sun, 13 Sep 2026 12:11:41 +0200 Subject: [PATCH] media: apple: isp: add MEDIA_ENT_FL_DEFAULT to the video device entity Some userspace applications use this to know what capture node to open. Signed-off-by: sofus --- drivers/media/platform/apple/isp/isp-v4l2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/apple/isp/isp-v4l2.c b/drivers/media/platform/apple/isp/isp-v4l2.c index 8e287cfc8a29e9..e06b4f1d55c1a1 100644 --- a/drivers/media/platform/apple/isp/isp-v4l2.c +++ b/drivers/media/platform/apple/isp/isp-v4l2.c @@ -862,6 +862,7 @@ int apple_isp_setup_video(struct apple_isp *isp) vdev->device_caps = V4L2_BUF_TYPE_VIDEO_CAPTURE | V4L2_CAP_STREAMING; if (isp->multiplanar) vdev->device_caps |= V4L2_CAP_VIDEO_CAPTURE_MPLANE; + vdev->entity.flags = MEDIA_ENT_FL_DEFAULT; vdev->v4l2_dev = &isp->v4l2_dev; vdev->vfl_type = VFL_TYPE_VIDEO; vdev->vfl_dir = VFL_DIR_RX;