AnsweredAssumed Answered

[PATCH] mx6: mxc_v4l2_capture: Fix missing VIDIOC_ENUM_FRAMEINTERVALS

Question asked by Benoit Thebaudeau on Jun 12, 2014

Hi,

 

I have had an issue with an unimplemented ioctl in mxc_v4l2_capture.c. I attach a patch fixing this issue. This patch is based on the i.MX6 BSP 3.0.35-4.1.0, but it seems to be needed by all Freescale Git branches (only the path of mxc_v4l2_capture.c changes for some branches).

 

Without this fix, VIDIOC_ENUM_FRAMEINTERVALS returns EINVAL, ignoring the ioctl_enum_frameintervals() functions in the drivers like ov5642.c.

 

csi_v4l2_capture.c was correct.

Original Attachment has been moved to: 0001-mxc_v4l2_capture-Fix-missing-VIDIOC_ENUM_FRAMEINTERV.patch.zip

Outcomes