ov5645: Fix OpenCV related issues
b/128424247
- OpenCV loses information about the resolution because it doesn't
call G_PARM before calling S_PARM to set framerate and for OV5645
the resolution is encoded in the capturemode.
- The way the csi host driver was implemented did not conform with
the v4l2 spec and this patch fixes that, but only for the one
csi camera case, which completely breaks the two camera case even
when STREAMON/STREAMOFF come in a well coreographed pattern.
TODO: Fix the two camera case in mxc-mipi-csi2-yav.c
Change-Id: I2d11a17f4f0574ff577dd1c3b30725fa0bd09a8a
2 files changed