Commits

Sheng Nan committed 0d77fa87947
ENGR00229962 Capture: ov5642/ov5640: update sensor params even if s_parm failed ioctl_s_parm for ov5642 and ov5640, it didn't check if sensor changed mode successfully. So it updates the sensor parameters with new framerate and new mode even if the sensor failed to change mode. The original framerate and mode is useful for the exposure calculation. It should keep consistent with sensor actual work mode. - This patch checks the return value of function which changes sensor mode If it succeed, update sensor parameters. Signed-off-by: Sheng Nan <b38800@freescale.com> (cherry picked from commit 2dd75f173f1253b50fc3eae97d6a9785e0f622f4)