Ver Fonte

video: driver: update device capabilities

add V4L2_CAP_VIDEO_M2M_MPLANE capability
since driver supports both input and
output ports.

Change-Id: Ie43b21bbaa2fe995a946e4dbc7b6f03ece4dae23
Signed-off-by: Darshana Patil <[email protected]>
Darshana Patil há 3 anos atrás
pai
commit
3673cb87d1
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      driver/vidc/src/msm_vidc_probe.c

+ 1 - 3
driver/vidc/src/msm_vidc_probe.c

@@ -180,10 +180,8 @@ static int msm_vidc_register_video_device(struct msm_vidc_core *core,
 	core->vdev[index].type = type;
 	core->vdev[index].vdev.v4l2_dev = &core->v4l2_dev;
 	core->vdev[index].vdev.device_caps =
-		V4L2_CAP_VIDEO_CAPTURE_MPLANE |
-		V4L2_CAP_VIDEO_OUTPUT_MPLANE |
+		V4L2_CAP_VIDEO_M2M_MPLANE |
 		V4L2_CAP_META_CAPTURE |
-		V4L2_CAP_META_OUTPUT |
 		V4L2_CAP_STREAMING;
 	rc = video_register_device(&core->vdev[index].vdev,
 					VFL_TYPE_VIDEO, nr);