]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/media/platform/mxc/capture/ipu_bg_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_bg_overlay_sdc.c
index ad5e1c860e01f03e3a693cc588c9b581b4efea43..4a975b54a97768f4701565f5be880993ddd56356 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * Copyright 2004-2013 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2014 Freescale Semiconductor, Inc. All Rights Reserved.
  */
 
 /*
@@ -189,10 +189,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
 
@@ -411,10 +407,6 @@ static int bg_overlay_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