]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/media/platform/mxc/capture/ipu_fg_overlay_sdc.c
ENGR00303663 mxc v4l2 capture: Don't return error if we cannot get mipi csi2
[karo-tx-linux.git] / drivers / media / platform / mxc / capture / ipu_fg_overlay_sdc.c
index 416b40b8046c1d84e06b601b77c2328a325a7e1a..80136156ceafac4e8d71f8d7c688bf5213632da4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2004-2013 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2014 Freescale Semiconductor, Inc. All Rights Reserved.
  */
 /* * The code contained herein is licensed under the GNU General Public
  * License. You may obtain a copy of the GNU General Public License
@@ -195,10 +195,6 @@ static int csi_enc_setup(cam_data *cam)
                        params.csi_mem.mipi_vc = 0;
                        params.csi_mem.mipi_id = 0;
                }
-       } else {
-               printk(KERN_ERR "%s() in %s: Fail to get mipi_csi2_info!\n",
-                      __func__, __FILE__);
-               return -EPERM;
        }
 #endif
 
@@ -508,10 +504,6 @@ static int foreground_stop(void *private)
                                && cam->csi == csi_id)
                                mipi_csi2_pixelclk_disable(mipi_csi2_info);
                }
-       } else {
-               printk(KERN_ERR "%s() in %s: Fail to get mipi_csi2_info!\n",
-                      __func__, __FILE__);
-               return -EPERM;
        }
 #endif