[PATCH] mx6: mxc_v4l2_capture: Fix missing VIDIOC_ENUM_FRAMEINTERVALS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[PATCH] mx6: mxc_v4l2_capture: Fix missing VIDIOC_ENUM_FRAMEINTERVALS

739 Views
bthebaudeau
Contributor I

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

0 Kudos
1 Reply

414 Views
gusarambula
NXP TechSupport
NXP TechSupport

Thank you for sharing this patch!

Please apply this patch upstream to the  Freescale · GitHub

0 Kudos