Disable binary switch in ISP. Signed-off-by: Hu Gang <gang.a.hu@intel.com>
authorHu Gang <gang.a.hu@intel.com>
Thu, 17 Feb 2011 02:37:13 +0000 (10:37 +0800)
committerHu Gang <gang.a.hu@intel.com>
Wed, 16 Mar 2011 15:32:12 +0000 (23:32 +0800)
gst-libs/atomisphal/mfld_cam.c

index 4d9ef94..9031ca8 100644 (file)
@@ -592,7 +592,10 @@ cam_set_capture_mode (int fd, cam_capture_mode_t mode)
 {
   cam_err_t ret = CAM_ERR_NONE;
   cam_driver_dbg ("%s\n", __func__);
-  //FIXME We need to switch the binary here ?
+  /* FIXME We need to switch the binary here ? */
+  mfld_driver.first_frame = 1;
+  return ret; /* Don't switch mode temppory for the MIPI issue */
+
   switch (mode) {
     case CAM_CAPTURE_MODE_VIEWFINDER:
       mfldadvci->switch_mode (CI_ISP_MODE_PREVIEW);