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
 
					
				
		
 gusarambula
		
			gusarambula
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thank you for sharing this patch!
Please apply this patch upstream to the Freescale · GitHub
